-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
dnsIssues and PRs related to the dns subsystem.Issues and PRs related to the dns subsystem.
Description
Version
v16.5.0
Platform
Linux terminator 5.13.5-zen1-1-zen #1 ZEN SMP PREEMPT Sun, 25 Jul 2021 18:03:00 +0000 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Run this code:
const dns = require("dns");
const resolver = new dns.Resolver({
timeout: 5 * 1000
});
resolver.setServers([
"123.123.123.123"
]);
resolver.resolve4("myip.opendns.com", (error, ip) => {
console.log(error, ip);
});How often does it reproduce? Is there a required condition?
It fails every single time
What is the expected behavior?
dns.TIMEOUT is returned as error in callback.
What do you see instead?
Request never times out.
Additional information
No response
ycjcl868
Metadata
Metadata
Assignees
Labels
dnsIssues and PRs related to the dns subsystem.Issues and PRs related to the dns subsystem.