Tailscale pushes the DNS settings from the admin console to every device. That works nicely for MagicDNS, but on a machine with its own resolver setup it can get in the way.
The CLI reference lists --accept-dns as accepting the DNS configuration from the admin console, and says it defaults to accepting. Turn it off on one device:
tailscale set --accept-dns=false
From then on that device ignores the DNS settings of the tailnet. Everything else in Tailscale keeps running, and you still reach other devices by their Tailscale IP, for example ssh [email protected].
MagicDNS names stop resolving through the system on that device. The reference makes one exception: for tailscale ssh, the host can be the destination’s MagicDNS name even when --accept-dns=false was set on the local node. So this keeps working:
tailscale ssh user@my-server
To undo the change:
tailscale set --accept-dns=true
The caveat is that you now handle names yourself on that machine. If you want them back without turning the flag on, add the tailnet’s DNS server to your own resolver, or switch the flag on again and let Tailscale manage it. I would test a name lookup right after the change, so a broken setup shows up while you are still looking at the terminal.
Further reading: Tailscale CLI reference (set, ssh)