-
Notifications
You must be signed in to change notification settings - Fork 100
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
How to log individual upstream DNS failures #363
Comments
It does make you wonder if getdns/stubby is abandoned now, doesn't it? No answers to queries here and logging enhancements that were supposed to be delivered a long time ago (see product page for the statement) haven't materialised. |
@supersebbo What platform are you running Stubby on and I presume it is running as a service? What level of logging does it currently have? There are 2 ways to configure logging, but unfortunately both require a restart to stubby to change (and note the command line setting overrules the config file setting)
If you have INFO level logs you should see failures of individual upstream connections there e.g. if I have 2 upstreams configured (a working one 185.49.141.37 and a non-existent one 185.49.141.3) then with INFO logs I see the following:
with DEBUG logs you see all successful connections too. This can be useful to show the number of timeouts or cases where the server shuts the connection (rather than Stubby) which can indicate issues:
Having said all that even with |
@cookiemonsteruk I personally do what I can in my spare time to respond to minor fixes and issues posted here (apologies that is often slow). NLnet Labs is the official home to the (underlying) |
I am trying (with little success) to debug an issue with intermittent DNS resolution failures on my network. Symptom is that clients report "Temporary failure in name resolution" for periods of 30-60 seconds, then start working again.
To me this smells like there is a single resolver in my pool of 20 that is failing to respond, and this heals itself when stubby moves onto the next resolver in the round-robin pool.
However, when I have tested all the upstream resolvers in the pool, they are all working, so it would seem the issue with the upstream resolver is intermittent.
Is there a level of logging that Stubby can output that will help me track down this unreliable DNS resolver?
The only logging I get from Stubby today is when ALL upstream resolvers have failed (which it logs mercilessly).
The text was updated successfully, but these errors were encountered: