Undo DNS changes

Hello, I was trying to fix a DNS issue by following the advice at Subnet routers and traffic relay nodes · Tailscale. Specifically the part

sudo resolvectl dns tailscale0
sudo resolvectl domain tailscale0 example.private dev.example.private
sudo resolvectl default-route tailscale0 no

It didn’t help for my situation and I need to keep working on it, but how can I revert DNS for tailscale0 back to the default before proceeding?


You should just be able to use sudo resolvectl flush-caches

Note that that page was a bit out of date, we’ve moved the capacity to do that in to the admin panel as Split DNS

Thanks, seems to work well