-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core DNS bug affecting all Node.js versions when behind VPN #33353
Comments
Possibly related to #14086 |
Can you clarify whether you're only seeing that with the promisified API or with the callback-based one too? |
It occurs with both @bnoordhuis |
I'm not having luck reproducing it locally. If you want to investigate, I'd probably start by checking with gdb whether What kind of traffic do you see with tcpdump? What does it look like when you run node through strace? |
@bnoordhuis I'm not sure what to filter out for when running I've emailed you at info@bnoordhuis.nl with more information. |
For posterity: there's a 75 second timeout. Local testing with a blackholed DNS server shows that c-ares internally retries four times (with 5, 10, 20 and 40 second timeouts) before giving up with an |
Got it, thanks! |
Run this code below as
node example.js
when you're behind a VPN and the script will never finish. DNS timeouts will not occur. Not sure what the culprit is - if I can help debug just let me know what I need to do.The text was updated successfully, but these errors were encountered: