tailscale

#

https://tailscale.com/blog/nixos-minecraft

Linux DNS #

https://tailscale.com/kb/1188/linux-dns

会 overwrite /etc/resolv.conf (https://tailscale.com/kb/1235/resolv-conf)

https://tailscale.com/blog/sisyphean-dns-client-linux

armbian 上的问题 #

bpi node 上 cat /etc/os-release :

PRETTY_NAME="Armbian_community 24.5.0-trunk.58 bookworm"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
ARMBIAN_PRETTY_NAME="Armbian_community 24.5.0-trunk.58 bookworm"

问题是 tailscale 期望 /etc/resolv.conf 是链接到 /run/systemd/resolve/stub-resolv.conf 并且 owner 是 systemd-resolved.

实际上是:

  • systemd-resolved 的用户是 systemd-resolve
  • 没有办法修改 /etc/resolv.conf

然后就会触发 tailscale 的 overwriting.