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
Aaron Klotz 4baf34cf25 net/dns: set appropriate Windows registry values to prevent it from sending DNS changes concerning our interface to AD domain controllers.
We do this unconditionally inside SetDNS such that the values are always set
before we make any other changes to DNS configurations.

It should not be harmful for the settings to remain even when other DNS
settings are cleared out (since they only affect our network interface).

See https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-dns-dynamic-updates-windows-server-2003 for details about the registry value.

Fixes https://github.com/tailscale/tailscale/issues/4829

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
dns net/dns: set appropriate Windows registry values to prevent it from sending DNS changes concerning our interface to AD domain controllers. 2 years ago
dnscache control/controlclient, net/dnscache: use typed singleflight fork 2 years ago
dnsfallback net/dnsfallback: update from 'go generate' 3 years ago
flowtrack all: use any instead of interface{} 3 years ago
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 3 years ago
netcheck all: gofmt all 3 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns wasm: exclude code that's not used on iOS for Wasm too 2 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: deflake TestPipeTimeout 3 years ago
netutil net/netutil: add CheckIPForwardingLinux (#4301) 3 years ago
packet *: use WireGuard where logged, printed or named 3 years ago
portmapper net/portmapper: enable for iOS 2 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
socks5 socks5: add a simple test 2 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 3 years ago
tsaddr net/dns/resolver, net/tsaddr: fix reverse lookups in 4to6 IP range 3 years ago
tsdial net/tsdial: add SystemDial as a wrapper on netns.Dial 3 years ago
tshttpproxy net/tshttpproxy: synology: pick proxy by scheme 3 years ago
tstun wgengine/netstack: make netstack MTU be 1280 also 3 years ago