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/dns
David Anderson 3c8e230ee1 Revert "net/dns: set IPv4 auto mode in NM, so it lets us set DNS."
This reverts commit 7d16c8228b.

I have no idea how I ended up here. The bug I was fixing with this change
fails to reproduce on Ubuntu 18.04 now, and this change definitely does
break 20.04, 20.10, and Debian Buster. So, until we can reliably reproduce
the problem this was meant to fix, reverting.

Part of #1875

Signed-off-by: David Anderson <dave@natulte.net>
3 years ago
..
resolver net/dns/resolver: remove unnecessary/racy WaitGroup. 3 years ago
config.go util/dnsname: add FQDN type, use throughout codebase. 3 years ago
debian_resolvconf.go net/dns: add GOOS build tags 3 years ago
direct.go net/dns: add GOOS build tags 3 years ago
flush_windows.go Move DNS flush logic to net/dns. 3 years ago
manager.go net/dns: work around WSL DNS implementation flaws. 3 years ago
manager_default.go net/dns: return error from NewOSManager, use it to initialize NM. 3 years ago
manager_freebsd.go net/dns: fix freebsd DNS manager selection. 3 years ago
manager_linux.go net/dns: work around new NetworkManager in other selection paths. 3 years ago
manager_openbsd.go net/dns: return error from NewOSManager, use it to initialize NM. 3 years ago
manager_test.go net/dns: work around WSL DNS implementation flaws. 3 years ago
manager_windows.go net/dns: on windows, skip site-local v6 resolvers. 3 years ago
nm.go Revert "net/dns: set IPv4 auto mode in NM, so it lets us set DNS." 3 years ago
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 3 years ago
openresolv.go net/dns: add GOOS build tags 3 years ago
osconfig.go net/dns: make debian_resolvconf correctly clear DNS configs. 3 years ago
registry_windows.go wgengine/router/dns: move to net/dns. 3 years ago
resolvconf-workaround.sh net/dns: also include 'tail' and 'base' files when fixing up resolv.conf. 3 years ago
resolvconf.go net/dns: add GOOS build tags 3 years ago
resolved.go net/dns: fix resolved match domains when no nameservers are provided. 3 years ago