Tailscale overwrites /etc/resolv.conf when MagicDNS is enabled in the tailnet and --accept-dns is enabled on the machine running Tailscale and there doesn't appear to be a DNS manager running on the system.