-
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
Regarding update on logging to file and advice in the meantime #343
Comments
I think I have made a little progress. I have compiled from source on a freebsd 13.1 virtual machine with the verbose logging option in readiness but haven't replaced it yet. I'll use it later if necessary. In the meantime I have done some testing with the current binary (no verbose logging).
On the server the only traffic seen is on the firewall, accepting the incoming request. No messages on the running stubby process. Then I move to test directly on the server on a separate connection (stubby is in the foreground, not demonized):
and I see traffic in the stubby process:
Does that help to identify what might be happening? |
Ah. Test from the client is flawed. Stubby is only listening on the loopback so only the queries from the same machine locally are valid tests. I still get servfails with "recursion requested but not available". Any suggestions of how to investigate this? |
Hi @cookiemonsteruk - a few initial comments/suggestions
Hope this helps to get you started. |
Thank you for the suggestions @saradickinson . Indeed the current logging is not giving enough information to pinpoint the problem stubby is having. I will try your suggestion to disable DNSSEC in Stubby or Unbound. One place only. By the way I am pretty convinced the problem is not in Stubby. I've had this setup for over a year without problems. |
Hello.
I have been using stubby for a few years. Thank you for a wonderful piece of free functionality.
I have had trouble in the last 48 hours and the lack of logging to file makes it incredibly difficult, in fact so far impossible to diagnose the problem.
I have a simple setup although some might think unnecessarily complicated. I run stubby on my opnsense firewall, stringing along AdGuardHome for ad-blocking, Unbound as recursive resolver and stubby as the upstream forwarder to my selected DoT resolvers.
Client (udp 53) ->AdGH (listens on udp/tcp 53) -> Unbound (listens udp/tcp 5353) -> stubby (listens on udp/tcp 8053) -> DoT (853)
All services start on boot from I've started getting intermmittent SERVFAIL , NXDOMAIN and sometimes REFUSED response codes logged in AdGH from Unbound for domains that should be resolvable and indeed resolve later. An example is client.dropbox.com.
Of course I have done diagnostics that take me as far as stubby but I can't tell what is the problem that stubby is trying to deal with.
As one diagnostic step I stopped stubby and started again without the -g option but I could not get anything being logged to stdout.
In light of this may I ask:
Thank you.
The text was updated successfully, but these errors were encountered: