No split dns registered with the OS with an app connector. What is the issue? It's…
- User
No split dns registered with the OS with an app connector.
What is the issue?
It's possible to have an app connector but tailscale fails to register split dns with the OS to route dns requests to it.
Steps to reproduce
Linux w/ systemd-resolved Turn off MagicDNS No global dns fallback results in Tailscale not being used for DNS by the operating system
Are there any recent changes that introduced the issue?
No response
OS
No response
OS version
No response
Tailscale version
No response
Other software
No response
Bug report
No response
Interface
No new interfaces are introduced.
- Assistant
I’ll trace the DNS configuration path for app connectors under systemd-resolved, identify why an empty nameserver set suppresses split-DNS registration, then patch and run focused tests.
- Assistant
rgisn’t installed in this checkout, so I’m switching to repository-native search tools and first checking the local contribution guidance before editing. - Assistant
The failure is in DNS compilation: a single split route is handed directly to the OS whenever all domains share one resolver set, but app connectors use an HTTP/DoH resolver URL. Converting that URL to OS nameservers produces an empty list, so systemd-resolved receives match domains with no Tailscale nameserver. I’m tightening that fast path to accept only resolvers the OS can actually configure and adding the repro as a regression test.
- Assistant
The focused DNS test suite is running. The regression now expects systemd-resolved to register the app domain against Tailscale’s local DNS service, while the local resolver retains the connector’s DoH URL as its upstream.
- Assistant
The focused tests pass and the diff is clean. A broader dependent-package run hit the container’s process limit during compilation (not a code failure), so I’m rerunning it with constrained build parallelism.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.