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
{{ message }}
Repository navigation
dns-forward-failing warning is inaccurate and never self-corrects - Make Tailscale Healthy Again #18101
this is an update of my bugreport at #15389, which is so old that as of 2025-12-01, is buried 56 pages deep likely never to be seen again
I Am Human
Despite the occasional emoji, and carefully written/formatted text, I assure you that this issue was not AI-generated. I resisted the urge to use an em-dash.
Summary
Tailscale has a builtin healthcheck that monitors the failure rate of DNS queries routed through its native resolver (100.100.100.100 aka quad9).
If that failure percentage crosses above a certain (unknown) watermark AND the node is configured with --accept-dns=false, the following warning starts to appear in various places (menubar icon, tailscale status output etc):
Tailscale can't reach the configured DNS servers. Internet connectivity may be affected.
That warning never self-corrects, even if conditions return to normal. The only way to clear it is to restart Tailscale or reboot the entire machine.
This has been tested and reproduced on several systems/platforms:
macOS 26.1 + Tailscale (pkg) 1.92.0
Debian 13 (Trixie) + Tailscale 1.90.9
pfSense 25.11 + Tailscale 1.90.6
Repro
I created a simple POC script that reliably reproduces this bug:
Save, chmod +x and run that script. As long as you have --accept-dns=false, after around 15 seconds, you should see:
Problems
I see 2 main problems here:
There is no log of WHAT queries failed (thus no way to troubleshoot or take corrective action e.g. fix DNS server)
Even after the "problem" is cleared, the health warning never resets. The only way to reset it is to toggle Tailscale off and back on, or do a full reboot
I have collected extensive debug logs, and am happy to provide them if requested. But, due to the simple repro I doubt that will be necessary.
Activity
luckman212 commentedon Dec 1, 2025
luckman212 commentedon Dec 3, 2025
Here's the reference to the 15-second sliding window
tailscale/net/dns/resolver/forwarder.go
Lines 186 to 201 in f8cd07f
luckman212 commentedon Dec 3, 2025
And here is what I think may be the codepath that is never being hit, resulting in a "stuck"
dns-forward-failingstate:tailscale/net/dns/resolver/forwarder.go
Lines 1039 to 1046 in f8cd07f
f.health.SetHealthy(dnsForwarderFailing)is never triggering (at least on my systems)luckman212 commentedon Dec 6, 2025
Closing in favor of #18146