tailscale/net
Nick Khyl 4dfde7bffc net/dns: disable DNS registration for Tailscale interface on Windows
We already disable dynamic updates by setting DisableDynamicUpdate to 1 for the Tailscale interface.
However, this does not prevent non-dynamic DNS registration from happening when `ipconfig /registerdns`
runs and in similar scenarios. Notably, dns/windowsManager.SetDNS runs `ipconfig /registerdns`,
triggering DNS registration for all interfaces that do not explicitly disable it.

In this PR, we update dns/windowsManager.disableDynamicUpdates to also set RegistrationEnabled to 0.

Fixes #13411

Signed-off-by: Nick Khyl <nickk@tailscale.com>
2024-09-07 19:00:38 +01:00
..
art
captivedetection
connstats
dns net/dns: disable DNS registration for Tailscale interface on Windows 2024-09-07 19:00:38 +01:00
dnscache
dnsfallback
flowtrack
ipset
ktimeout
memnet
netaddr
netcheck all: use new Go 1.23 slices.Sorted more 2024-09-04 14:52:21 -07:00
neterror
netkernelconf
netknob
netmon
netns
netstat
netutil
packet
ping
portmapper
proxymux
routetable
socks5
sockstats
speedtest
stun
stunserver
tcpinfo
tlsdial
tsaddr
tsdial
tshttpproxy
tstun net/tstun: probe TCP GRO (#13376) 2024-09-05 09:59:31 -07:00
wsconn