You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 weeks ago
..
art all: fix new lint warnings from bumping staticcheck 4 weeks ago
captivedetection net/captivedetection: mark TestAllEndpointsAreUpAndReturnExpectedResponse flaky (#13021) 2 months ago
connstats all: use Go 1.22 range-over-int 5 months ago
dns net/dns: disable DNS registration for Tailscale interface on Windows 2 weeks ago
dnscache net/dnscache: use parent context to perform lookup 3 months ago
dnsfallback {control,net}: close idle connections of custom transports 2 months ago
flowtrack net/flowtrack: fix, test String method 3 months ago
ipset go.mod: bump bart 2 months ago
ktimeout net/ktimeout: add a package to set TCP user timeout 7 months ago
memnet net/memnet: export the network name (#9111) 1 year ago
netaddr all: update copyright and license headers 2 years ago
netcheck all: use new Go 1.23 slices.Sorted more 2 weeks ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 3 months ago
netknob all: update copyright and license headers 2 years ago
netmon all: fix new lint warnings from bumping staticcheck 4 weeks ago
netns net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 2 months ago
netstat all: add test for package comments, fix, add comments as needed 2 months ago
netutil all: add test for package comments, fix, add comments as needed 2 months ago
packet wgengine/magicsock: actually use AF_PACKET socket for raw disco 3 weeks ago
ping net/ping: fix ICMP echo code field to 0 1 year ago
portmapper all: use math/rand/v2 more 4 months ago
proxymux all: cleanup unused code, part 1 (#10661) 9 months ago
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 5 months ago
socks5 net/socks5: support UDP 2 months ago
sockstats net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 5 months ago
speedtest all: update copyright and license headers 2 years ago
stun ci: enable checklocks workflow for specific packages 3 months ago
stunserver all: use Go 1.22 range-over-int 5 months ago
tcpinfo all: use Go 1.22 range-over-int 5 months ago
tlsdial cmd/tta, vnet: add host firewall, env var support, more tests 1 month ago
tsaddr net/ipset, wgengine/filter/filtertype: add split-out packages 3 months ago
tsdial {control,net}: close idle connections of custom transports 2 months ago
tshttpproxy all: use Go 1.22 range-over-int 5 months ago
tstun net/tstun: probe TCP GRO (#13376) 2 weeks ago
wsconn go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket 1 month ago