tailscale/net/dns
David Crawshaw 9502b515f1 net/dns: replace resolver IPs with type for DoH
We currently plumb full URLs for DNS resolvers from the control server
down to the client. But when we pass the values into the net/dns
package, we throw away any URL that isn't a bare IP. This commit
continues the plumbing, and gets the URL all the way to the built in
forwarder. (It stops before plumbing URLs into the OS configurations
that can handle them.)

For #2596

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2021-09-07 14:44:26 -07:00
..
resolver net/dns: replace resolver IPs with type for DoH 2021-09-07 14:44:26 -07:00
config.go net/dns: replace resolver IPs with type for DoH 2021-09-07 14:44:26 -07:00
debian_resolvconf.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
direct.go net/dns: only restart systemd-resolved if we changed /etc/resolv.conf. 2021-09-05 00:00:16 -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: replace resolver IPs with type for DoH 2021-09-07 14:44:26 -07:00
manager_default.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
manager_freebsd.go net/dns: fix the build on freebsd (missing default case in switch) 2021-09-05 00:00:16 -07:00
manager_linux.go net/dns: exhaustively test DNS selection paths for linux. 2021-09-04 23:40:48 -07:00
manager_linux_test.go net/dns: exhaustively test DNS selection paths for linux. 2021-09-04 23:40:48 -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: replace resolver IPs with type for DoH 2021-09-07 14:44:26 -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: exhaustively test DNS selection paths for linux. 2021-09-04 23:40:48 -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