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 c071bcda33 net/dns: relax systemd-resolved detection.
Reported on IRC: a resolv.conf that contained two entries for
"nameserver 127.0.0.53", which defeated our "is resolved actually
in charge" check. Relax that check to allow any number of nameservers,
as long as they're all 127.0.0.53.

Signed-off-by: David Anderson <danderson@tailscale.com>
3 years ago
..
resolver net/dns/resolver: authoritatively return NXDOMAIN for reverse zones we own. 3 years ago
config.go net/dns{,/resolver}: quiet DNS output logging 3 years ago
debian_resolvconf.go all: gofmt with Go 1.17 3 years ago
direct.go net/dns: resolveConfExists reading the wrong error 3 years ago
direct_test.go net/dns: factor directManager out over an FS interface 3 years ago
flush_windows.go Move DNS flush logic to net/dns. 4 years ago
ini.go all: gofmt with Go 1.17 3 years ago
ini_test.go all: gofmt with Go 1.17 3 years ago
manager.go net/dns{,/resolver}: quiet DNS output logging 3 years ago
manager_default.go all: gofmt with Go 1.17 3 years ago
manager_freebsd.go net/dns: prep for writing manager_linux tests; pull some stuff out 3 years ago
manager_linux.go net/dns: relax systemd-resolved detection. 3 years ago
manager_linux_test.go net/dns: add start of Linux newOSConfigurator tests 3 years ago
manager_openbsd.go net/dns: factor directManager out over an FS interface 3 years ago
manager_test.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
manager_windows.go net/dns: correct log message. 3 years ago
nm.go all: gofmt with Go 1.17 3 years ago
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 4 years ago
openresolv.go all: gofmt with Go 1.17 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. 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: prep for writing manager_linux tests; pull some stuff out 3 years ago
resolved.go all: gofmt with Go 1.17 3 years ago
wsl_windows.go net/dns: do not run wsl.exe as LocalSystem 3 years ago