I have my own personal tailscale network set up, but I have one host that is already connected via wireguard to a separate server that I don’t control (and can’t put tailscale on) and trying to get DNS to work on it is complicated but similar to the issue here. Basically I need to keep dnsmasq as my primary DNS. A standard sudo tailscale up
overwrites /etc/resolv.conf and messes everything up so that nothing resolves. Instead I started with sudo tailscale up --accept-dns=false
which keeps my DNS working, but now I can’t connect to other tailscale hosts.
I edited /etc/dnsmasq.conf with
server=/beta.tailscale.net/100.100.100.100
and restarted it but still not able to resolve my other hosts.
Then I tried
server=/beta.tailscale.net/100.100.100.100@tailscale0
and now nslookup works with server1.example.com.beta.tailscale.net but not ping or ssh. Ideally I’d like to be able to resolve server1.local, but if anyone could help me resolve server1.example.com.beta.tailscale.net that’d be great too.
Thanks