Repository navigation
Description
Environment
- macOS 26.5.2 (25F84) throughout — same build across all broken and working periods below
- MacBook Pro (M2), Tailscale standalone/macsys variant
- Observed on 1.98.8 (stable) and 1.101.162 (unstable), including on completely fresh installs (app + system extension fully removed and reinstalled between tests)
- Bug report markers captured while broken:
BUG-a8cdef85481b7f3e305c401e00f7eaea6d6b923bb1b6fc6ef1ac19e16b198f24-20260707043933Z-0a868dbd7632230e(2026-07-07, during the first broken period)BUG-a8cdef85481b7f3e305c401e00f7eaea6d6b923bb1b6fc6ef1ac19e16b198f24-20260713033123Z-96b874b380890e29(2026-07-13, current broken state, 1.98.8)
Symptom
The embedded DNS server at 100.100.100.100 answers MagicDNS names for my own tailnet normally, but every query requiring the forwarder returns SERVFAIL. With "Use Tailscale DNS" enabled (whole OS pointed at quad-100) it degrades to total timeouts under system query load, taking down OS-wide DNS. Independent of upstream type — all of these fail identically:
- No resolvers configured (forwarding to system default: LAN router via link-local IPv6, ISP IPv6 resolvers, 1.1.1.1 — plain UDP 53)
- NextDNS DoH global nameserver (via the NextDNS integration)
- Cloudflare global nameservers
tailscale dns query example.com A → RCodeServerFailure, no answers.
Intermittency — this appears to be a per-boot condition
- 2026-07-05 → 07-08: broken. Persisted across multiple reboots and across full uninstall/reinstall of two client versions during this window.
- 2026-07-09 → 07-12: working, after one particular reboot (which followed a full app + system-extension removal and fresh 1.98.8 install — but note the same removal/reinstall had NOT helped during the broken window). Verified end-to-end on 07-12: quad-100 forwarded external names, NextDNS DoH dialed and served (test.nextdns.io: status ok), including with an exit node active.
- 2026-07-13: broken again immediately after the next reboot. No client, OS, or configuration change of any kind in between — the same 1.98.8 install that was working hours earlier.
While broken: quitting and relaunching the app does not clear it. Rebooting sometimes does (and sometimes doesn't — see the 07-05→07-08 window). This looks like something raced or wedged during extension/network startup rather than corrupted persistent state, which is what I incorrectly suspected at first.
Key evidence
- The forwarder's upstream queries never leave the machine.
sudo tcpdump -i en0and-i anyfiltered onport 53 or port 853during probe queries to quad-100: zero packets for the probed names, while mDNSResponder's normal traffic to the LAN router flows on the same wire with instant answers. With DoH configured,netstatshows zero TCP connections to NextDNS anycast (45.90.28.0 / 45.90.30.0) over IPv4 or IPv6 — the DoH client never dials. - The extension's networking is otherwise healthy while DNS is broken.
tailscale netcheck: UDP true, STUN works over IPv4 and IPv6, portmap probes reach the LAN router (UPnP/NAT-PMP/PCP all answer), nearest DERP ~39 ms. Tunnel data path passes TCP fine (HTTP 200 from a tailnet peer's web UI). - Every upstream answers instantly when queried from user space on the same machine: LAN router, ISP resolvers, 1.1.1.1, and NextDNS DoH (verified by raw IP with
curl --resolve dns.nextdns.io:443:45.90.28.0 ...). - MagicDNS names answered from tailscaled's memory work (
NOERROR), so the DNS server and the client→quad-100 packet path are fine — the failure is strictly in the forwarder's upstream dials.
Ruled out by direct test
- Third-party network extensions: DefensX DNS proxy (NEDNSProxyProvider) and Twingate (tunnel provider) are installed but were toggled off in System Settings → Network Extensions with their launchd daemons disabled and booted out, then rebooted — reproduced on that clean boot with only Tailscale's extension enabled. Both remained in that same disabled state (
systemextensionsctlshowsactivated disabled) across ALL subsequent broken AND working boots, so their disabled-but-installed presence is constant across both outcomes and cannot be the discriminating variable. DefensX's own "bypass protection" mode made no difference while broken. - pf: disabled, only stock Apple anchors present.
- macOS application firewall: toggling had no effect.
- Tailscale state: full uninstall (system-extension removal confirmed) + reinstall, on two versions — identical failure immediately on fresh install during the broken window.
- Transparent DNS interception:
dig @192.0.2.55(TEST-NET) times out as expected — nothing is intercepting/answering for absent servers.
Additional context
tailscale debug daemon-logsusually fails on this machine withThe Tailscale GUI failed to start: (Tailscale.CLIError error 3.)even while the GUI is running (it connected exactly once, showing only netmap lines). Possibly related, possibly a separate CLI issue — mentioning in case it helps.- Current workaround:
tailscale set --accept-dns=falseplus/etc/resolver/<tailnet>.ts.netcontainingnameserver 100.100.100.100, which restores MagicDNS for apps while the OS uses router DNS.
The machine is in the broken state right now (marker above is from it) — happy to run any diagnostics or a debug build while it's wedged.
Activity
emersonbpc commentedon Jul 28, 2026
Hi
Wondering if you have any other insights on the possible cause - I have a user with MacOS Tahoe version 26.5.1 and tailscale 1.98.9 which had a noticeably laggy DNS lookup until accept dns was disable. the work around
tailscale set --accept-dns=false plus /etc/resolver/<tailnet>.ts.net containing nameserver 100.100.100.100, which restores MagicDNS for apps while the OS uses router DNS.ended up working as a stop gap solution. and overall the issue seems similiar to yours here.multivac61 commentedon Aug 9, 2026
I appear to be experiencing the same issue on macOS with Tailscale
1.102.2.
With accept-dns=true, the configured NextDNS resolver appears correctly
in
tailscale dns status, but both queries time out:The NextDNS DoH endpoint resolves google.com correctly when queried
directly.
tailscale netcheckreports UDP connectivity as healthy.Setting accept-dns=false immediately restores DNS.
Bug report:
BUG-a0d7f3939672ef2c61268b3a0d7390619ee4456ab6448a15bfed6f97ee8ff887-20260809093922Z-0e4296f8191c2b24
lirender commentedon Aug 25, 2026
Adding a data point on newer stable + newer macOS than the OP — Tailscale 1.102.1 (App Store build) on macOS 26.6.1 (25G76), Mac Studio M2 Max — including a live capture of the wedge with a bugreport marker taken while broken, and some scoping that narrows where the failure lives.
Setup: MagicDNS on,
accept-dns=true, no tailnet global resolvers (coordination server pushes only the defaultts.net.split route, so "Override Local DNS" is not a factor). No exit node, no subnet routes in the DNS path. Single install (an old coexisting Homebrew tailscaled was fully removed weeks before these events, ruling out that confound). Desktop machine, no sleep-wake involved. Recurrence rate: four incidents in five days (two persistent wedges, two brief ~30–90 s stalls).Live capture — 2026-08-25 00:23 UTC, while wedged
All of the following observed in the same ~2 minutes:
dscacheutil -q host -a name example.com→ empty (no answer); Pythonsocket.getaddrinfo("example.com", ...)→ instantEAI_NONAME("nodename nor servname provided"), no timeout. All getaddrinfo-based apps gotENOTFOUND-class failures (three separate Node CLI sessions showed "check your internet or DNS (ENOTFOUND)").dig example.com @100.100.100.100→ NOERROR in 17 ms; a MagicDNS name via@100.100.100.100→ NOERROR;dig @8.8.8.8→ fine.Unpenalizing responsive serverlines (so it had recently penalized the server), and — for the failing lookups — questions do getQuestion assigned DNS service 1yet return failure instantly with no wire query ever sent (consistent with the OP's tcpdump observation).So in this state the quad-100 forwarder itself is provably healthy; the stall is inside mDNSResponder's question-resolution path, seemingly stuck state that fails certain questions instantly without querying. It smells like an mDNSResponder (macOS 26) bug triggered by Tailscale's DNS-configuration/interface churn — data that may help you escalate to Apple with a narrower repro.
Recovery:
sudo killall mDNSResponderrestores everything instantly — no reboot, no Tailscale toggle (cheaper than what the OP found; tailscaled keeps running, a fresh mDNSResponder is enough).Other presentations seen this week
ts.netnames,dscacheutilfailing): 2026-08-17 and 2026-08-21 ~03:09–03:17 UTC.Bugreport markers:
BUG-cd3af7de46e5a7b0cabf831aef64b6e247e89e024e68ed2ad07d5011f01f2d97-20260825002323Z-8fed60eabe4de292— taken during the live wedge above.BUG-cd3af7de46e5a7b0cabf831aef64b6e247e89e024e68ed2ad07d5011f01f2d97-20260824152343Z-531f9ddbe15d22db— ~9h45m after the 2026-08-24 05:39 UTC stall.BUG-cd3af7de46e5a7b0cabf831aef64b6e247e89e024e68ed2ad07d5011f01f2d97-20260824072203Z-964ceb4ec3e33a8c— 4 days after the 2026-08-21 persistent wedge (may have aged out).I have a capture script that records dig probes (quad-100 public + MagicDNS,
@8.8.8.8control),dscacheutil/getaddrinfo probes,scutil --dns,tailscale dns status, and a fresh bugreport marker while wedged — happy to run further diagnostics (tcpdump, packet-level, TSnet debug knobs) on the next occurrence.lirender commentedon Aug 28, 2026
Correction / retraction of my earlier report.
I commented above attributing a recurring total-DNS-failure on macOS 26 to Tailscale. I've since found a local root cause on my machine, and Tailscale was not responsible. Retracting that attribution, and posting the details since the symptom points away from the actual cause and may be wasting other people's time here too.
Actual cause in my case: a third-party menu-bar app (
iMCP) was callingDNSServiceCreateConnection+DNSServiceBrowseroughly every 37s per process and never deallocating either. Each leaked connection pins a descriptor inmDNSResponder. Orphaned copies accumulated, and oncemDNSResponderexhausted its descriptor table it refused all new client connections.Measured, via controlled reproduction:
mDNSResponderwedged at ~12,540 open descriptors (lsofat the moment of failure)mDNSRespondernever restartedWhy it looks like a resolver bug:
digandhostkeep working throughout (they bypassmDNSResponder), and long-lived processes that already hold an mDNS connection keep resolving normally — so the machine looks half-alive and the failure appears to follow whatever resolver is configured. It does not.Diagnostic that separates the two, for anyone else landing here:
read_msg errno 40 (Message too long)isEMSGSIZE— on a Unix socket that'srecvmsgfailing to allocate descriptors for theSCM_RIGHTSbeing passed, i.e.mDNSResponderis out of descriptors, not the upstream resolver misbehaving.I've filed the leak with the app's author (mattt/iMCP#192) and re-enabled
--accept-dns=truehere; MagicDNS is working normally.One caveat so I'm not overclaiming: I have a proven reproduction for my most recent incident. Some earlier incidents on this machine had a different logged signature (no
errno 40at all) and remain unexplained — they may be the same resource exhaustion breaking a different path, or something else. Either way I no longer have evidence pointing at Tailscale, so I didn't want my earlier comment left standing as-is. Apologies for the noise.roles/mac_dns: ~/ops owns this Mac's tailnet DNS plumbing, re-applied…
nickoneill commentedon Nov 6, 2026
@dszp can you retest this on 1.104.x? We've had a few DNS fixes since this was filed.