dns.resolve
throws ETIMEOUT
for custom dns server
#4781
Unanswered
zombieleet
asked this question in
Q&A
Replies: 0 comments 3 replies
-
Converted to a discussion because it falls short as a bug report. You need to conclusively demonstrate that the bug is with node and not somewhere else (your system, that third-party library, etc.) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
v18.17.0
Platform
Darwin MacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
Subsystem
dns, cares_wrap?
What steps will reproduce the bug?
dns.resolve
was able to communciate to the custom dns server, butdns.resolve
timesout before it receives a response from the custom dns server.How often does it reproduce? Is there a required condition?
It will always throw an
ETIMEOUT
, at first I thought it was an issue withdns-packet
, so I tried with other dns payload parsing libraries butdns.resolve
still does not receive response from the custom dns server.What is the expected behavior? Why is that the expected behavior?
The expected behavior is for
dns.resolve
to respond with the fake dns information sent by the custom dns server.What do you see instead?
dns.resolve
throwsETIMEOUT
after 4 retries (this is the default retry set in node core).Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions