You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If there's a faulty nameserver (non-existent/typo or dummy) in /etc/resolv.conf along with others that are working, the lookup gets stalled (in my case, up to 16s). Would it be possible for the client side lookup to rely on the nameservers in order (from top to bottom), or have an alternate strategy of returning the first successful lookup?
To Reproduce
Add any non-existent IP to list of nameservers in /etc/resolv.conf
It would be good to dig into more detail on this. This ends up calling AsyncResolver::inner_lookup(), but it would be good to understand what the ResolverConfig and ResolverOpts look like in this case. Unfortunately I won't be able to dig into this much more, but happy to provide guidance if you're able to provide more details on the behavior you're seeing.
Describe the bug
If there's a faulty nameserver (non-existent/typo or dummy) in
/etc/resolv.conf
along with others that are working, the lookup gets stalled (in my case, up to 16s). Would it be possible for the client side lookup to rely on the nameservers in order (from top to bottom), or have an alternate strategy of returning the first successful lookup?To Reproduce
/etc/resolv.conf
resolve -s google.com
Expected behavior
DNS lookup to be quick.
System:
Version:
Crate: [e.g. client, server, resolver]
Version: [e.g. 0.24.0]
The text was updated successfully, but these errors were encountered: