-
Notifications
You must be signed in to change notification settings - Fork 126
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
Fix edge case with --iterative and loopback external nameservers #405
Conversation
@zakird Know this is a bit confusing, if you think we should just remove the overwrite of the |
it feels a little bit weird to me to hardcode a specific DNS resolver when OSes do have a resolver they use by default. I think that we probably should stay with the behavior of most DNS tools (e.g., |
Hmm, I can see that except wouldn't IMO, since we're only over-riding the nameservers for external lookups when the CLI is used with |
We currently have the root servers as default for iterative, which is fine. I don't think that
I think that using the same logic, following what's in |
Hmm, perhaps I'm not communicating it super well. Basically, the chain of problematic events that happens is:
My solution was for the CLI in When not using I couldn't think of a cleaner solution, but am open to suggestions! |
Description
As said in comment:
Testing
Non-loopback NS in
etc/resolv.conf
Loopback NS in
/etc/resolv.conf