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>
2021-09-04 22:32:28 -07:00
..
resolver net/dns/resolver: authoritatively return NXDOMAIN for reverse zones we own. 2021-09-01 18:11:32 -07:00
config.go net/dns{,/resolver}: quiet DNS output logging 2021-07-19 22:24:43 -07:00
debian_resolvconf.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
direct.go net/dns: resolveConfExists reading the wrong error 2021-08-21 20:15:51 -07:00
direct_test.go net/dns: factor directManager out over an FS interface 2021-06-28 14:18:15 -07:00
flush_windows.go Move DNS flush logic to net/dns. 2021-03-25 17:40:52 -07:00
ini.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
ini_test.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
manager.go net/dns{,/resolver}: quiet DNS output logging 2021-07-19 22:24:43 -07:00
manager_default.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
manager_freebsd.go net/dns: prep for writing manager_linux tests; pull some stuff out 2021-08-30 13:49:02 -07:00
manager_linux.go net/dns: relax systemd-resolved detection. 2021-09-04 22:32:28 -07:00
manager_linux_test.go net/dns: add start of Linux newOSConfigurator tests 2021-08-30 14:16:12 -07:00
manager_openbsd.go net/dns: factor directManager out over an FS interface 2021-06-28 14:18:15 -07:00
manager_test.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 2021-06-23 16:04:10 -07:00
manager_windows.go net/dns: correct log message. 2021-08-03 13:58:29 -07:00
nm.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 2021-04-12 15:51:37 -07:00
openresolv.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
osconfig.go net/dns: make debian_resolvconf correctly clear DNS configs. 2021-04-20 15:51:14 -07:00
registry_windows.go wgengine/router/dns: move to net/dns. 2021-03-25 16:25:30 -07:00
resolvconf-workaround.sh net/dns: also include 'tail' and 'base' files when fixing up resolv.conf. 2021-04-10 23:01:11 -07:00
resolvconf.go net/dns: prep for writing manager_linux tests; pull some stuff out 2021-08-30 13:49:02 -07:00
resolved.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
wsl_windows.go net/dns: do not run wsl.exe as LocalSystem 2021-06-30 10:11:33 -07:00