Skip to content

platform: tailnet join must not accept DNS#93

Merged
ExtraToast merged 1 commit intomainfrom
platform-fix-tailscale-dns
Apr 17, 2026
Merged

platform: tailnet join must not accept DNS#93
ExtraToast merged 1 commit intomainfrom
platform-fix-tailscale-dns

Conversation

@ExtraToast
Copy link
Copy Markdown
Owner

Tailscale's --accept-dns=true rewrites /etc/resolv.conf to point only at 100.100.100.100 (MagicDNS). k3s hands that file to pods via the kubelet, and the pod subnet cannot route to Tailscale's in-kernel resolver — every DNS query inside a pod times out (symptom: Flux source-controller logging 'dial tcp: lookup github.com: i/o timeout').

Fix by dropping --accept-dns to false in bootstrap-tailnet.sh. Tailnet hosts are still reachable on their 100.64.* addresses and via tailscale status, we just don't inherit MagicDNS at resolv.conf level. If you previously joined with accept-dns enabled, fix the running node with: sudo tailscale set --accept-dns=false

Tailscale's --accept-dns=true rewrites /etc/resolv.conf to point only
at 100.100.100.100 (MagicDNS). k3s hands that file to pods via the
kubelet, and the pod subnet cannot route to Tailscale's in-kernel
resolver — every DNS query inside a pod times out (symptom: Flux
source-controller logging 'dial tcp: lookup github.com: i/o timeout').

Fix by dropping --accept-dns to false in bootstrap-tailnet.sh. Tailnet
hosts are still reachable on their 100.64.* addresses and via
`tailscale status`, we just don't inherit MagicDNS at resolv.conf
level. If you previously joined with accept-dns enabled, fix the
running node with:  sudo tailscale set --accept-dns=false
@ExtraToast ExtraToast added the bug Something isn't working label Apr 17, 2026
@ExtraToast ExtraToast self-assigned this Apr 17, 2026
@ExtraToast ExtraToast merged commit 9e086a1 into main Apr 17, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant