tailscale/net/dns
Denton Gentry 93c2882a2f wgengine: flush DNS cache after major link change.
Windows has a public dns.Flush used in router_windows.go.
However that won't work for platforms like Linux, where
we need a different flush mechanism for resolved versus
other implementations.

We're instead adding a FlushCaches method to the dns Manager,
which can be made to work on all platforms as needed.

Fixes https://github.com/tailscale/tailscale/issues/2132

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-09-19 22:58:53 -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_test.go net/dns: factor directManager out over an FS interface 2021-06-28 14:18:15 -07:00
direct.go net/dns: only restart systemd-resolved if we changed /etc/resolv.conf. 2021-09-05 00:00:16 -07:00
flush_default.go wgengine: flush DNS cache after major link change. 2021-09-19 22:58:53 -07:00
flush_windows.go wgengine: flush DNS cache after major link change. 2021-09-19 22:58:53 -07:00
ini_test.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
ini.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -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_test.go all: update tests to use tstest.MemLogger 2021-09-07 20:06:15 -07:00
manager_linux.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
manager.go wgengine: flush DNS cache after major link change. 2021-09-19 22:58:53 -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 net/dns: fix error wrapping for SetLinkDefaultRoute in resolved 2021-09-16 09:09:13 -07:00
wsl_windows.go net/dns: do not run wsl.exe as LocalSystem 2021-06-30 10:11:33 -07:00