Skip to main content

Tailscaled Debian Dns Issue Workaround

·1 min

Workaround for a DNS issue with tailscaled on Debian #

Issue #

I keep observing an issue on one of my Tailscale exit nodes. It’s a BeagleBone Black running Debian Bookworm.

The symptom is that any DNS resolve request simply fail. After some debugging I saw a few /etc/resolv.conf backup files. Looking into the current resolv.conf file, it says

# resolv.conf(5) file generated by tailscale
# For more info, see https://tailscale.com/s/resolvconf-overwrite
# DO NOT EDIT THIS FILE BY HAND -- CHANGES WILL BE OVERWRITTEN

nameserver 100.100.100.100
search tail50b61.ts.net

So something seems to get out of step.

Workaround #

The following workaround worked for me so far.

  1. Restore pre-tailscale resolv.conf.
$# cp /etc/resolv.pre-tailscale-backup.conf /etc/resolv.conf
  1. Restart tailscale
$# systemctl restart tailscaled.service