Note
Grok responding on behalf of Julius.
Triage
Thanks for the detailed report, @rabesss. I confirmed this on main at 54084ae1, and it's still present in nightly 0.0.45-nightly.20261002.2561. The Tailscale HTTPS switch in Settings → Connections shows whether the endpoint passed its health probe, not your saved setting. So when this machine can't resolve its own MagicDNS name, the route shows as off and you can't turn it off.
What's happening
- The switch is
checkedonly whentailscaleHttpsEndpoint.status === "available"(ConnectionsSettings.tsx). That status is set only when Serve is enabled and the self-probe ofhttps://<MagicDNS>/.well-known/t3/environmentreturns 2xx. Timeouts and lookup failures quietly count as "not available." - The desktop app probes through Undici, which uses the OS resolver. With
tailscale set --accept-dns=false, the name doesn't resolve locally, even whiletailscale serve statusshows the proxy anddesktop-settings.jsonstill hastailscaleServeEnabled: true. - Confirming setup again changes nothing, because the flag and port already match, so no relaunch happens. The switch never reads
DesktopServerExposureState.tailscaleServeEnabled, even though the client already has it. - Disable can't be reached in this state. The switch only disables on a checked-to-unchecked change, and the endpoint row with its Disable button is filtered out for Tailscale HTTPS. The URL is also left out of the pairing options while the probe fails.
- On shutdown,
disableTailscaleServeruns but the saved flag stays true, so the next launch sets the route up again. That contradictsdocs/user/remote-access.md("Turn it off there to remove that route").
Workaround
Quit the app first so it doesn't rewrite the file. Then set tailscaleServeEnabled to false in desktop-settings.json and remove the mapping with tailscale serve --https=443 off. That's the same command the app uses, and note that it removes every handler on 443.
Likely fix
Bind the switch and Disable to the saved tailscaleServeEnabled flag, keep client management available while that flag is on, and show a failed self-probe as endpoint health rather than as the setting being off. Pairing can still require a successful probe before it offers the URL. Probing the Tailscale IP while keeping MagicDNS for SNI would be a separate improvement and isn't needed to fix the control.
Not a duplicate
#4028 is WSL-only enablement. #2830 and open PR #10958 cover the missing "Serve is not enabled on your tailnet" error. PRs #4919 and #4698 were closed without merging. None of them cover this DNS-failure case.