Use the DNS result order returned by the OS
This commit is contained in:
commit
cb28204517
7
index.js
7
index.js
@ -25,4 +25,11 @@ if (!require("semver").satisfies(process.version, pkg.engines.node)) {
|
|||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const dns = require("dns");
|
||||||
|
|
||||||
|
// Set DNS result order early before anything that may depend on it happens.
|
||||||
|
if (dns.setDefaultResultOrder) {
|
||||||
|
dns.setDefaultResultOrder("verbatim");
|
||||||
|
}
|
||||||
|
|
||||||
require("./src/command-line");
|
require("./src/command-line");
|
||||||
|
Loading…
Reference in New Issue
Block a user