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 25ce9885a2 net/dns: don't use NM+resolved for NM >=1.26.6.
NetworkManager fixed the bug that forced us to use NetworkManager
if it's programming systemd-resolved, and in the same release also
made NetworkManager ignore DNS settings provided for unmanaged
interfaces... Which breaks what we used to do. So, with versions
1.26.6 and above, we MUST NOT use NetworkManager to indirectly
program systemd-resolved, but thankfully we can talk to resolved
directly and get the right outcome.

Fixes #1788

Signed-off-by: David Anderson <danderson@tailscale.com>
4 years ago
..
resolver net/dns/resolver: remove unnecessary/racy WaitGroup. 4 years ago
config.go util/dnsname: add FQDN type, use throughout codebase. 4 years ago
debian_resolvconf.go net/dns: make debian_resolvconf correctly clear DNS configs. 4 years ago
direct.go net/dns: make debian_resolvconf correctly clear DNS configs. 4 years ago
flush_windows.go Move DNS flush logic to net/dns. 4 years ago
manager.go net/dns: remove ForceSplitDNSForTesting. 4 years ago
manager_default.go net/dns: return error from NewOSManager, use it to initialize NM. 4 years ago
manager_freebsd.go net/dns: fix freebsd DNS manager selection. 4 years ago
manager_linux.go net/dns: don't use NM+resolved for NM >=1.26.6. 4 years ago
manager_openbsd.go net/dns: return error from NewOSManager, use it to initialize NM. 4 years ago
manager_test.go util/dnsname: add FQDN type, use throughout codebase. 4 years ago
manager_windows.go net/dns: return error from NewOSManager, use it to initialize NM. 4 years ago
nm.go net/dns: correctly capture all traffic in non-split configs. 4 years ago
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 4 years ago
openresolv.go net/dns: remove config in openresolv when given an empty DNS config. 4 years ago
osconfig.go net/dns: make debian_resolvconf correctly clear DNS configs. 4 years ago
registry_windows.go wgengine/router/dns: move to net/dns. 4 years ago
resolvconf-workaround.sh net/dns: also include 'tail' and 'base' files when fixing up resolv.conf. 4 years ago
resolvconf.go net/dns: fix staticheck. 4 years ago
resolved.go net/dns: fix resolved match domains when no nameservers are provided. 4 years ago