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
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>
3 years ago
..
resolver net/dns: replace resolver IPs with type for DoH 3 years ago
config.go net/dns: replace resolver IPs with type for DoH 3 years ago
debian_resolvconf.go all: gofmt with Go 1.17 3 years ago
direct.go net/dns: only restart systemd-resolved if we changed /etc/resolv.conf. 3 years ago
direct_test.go
flush_default.go wgengine: flush DNS cache after major link change. 3 years ago
flush_windows.go wgengine: flush DNS cache after major link change. 3 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 wgengine: flush DNS cache after major link change. 3 years ago
manager_default.go all: gofmt with Go 1.17 3 years ago
manager_freebsd.go net/dns: fix the build on freebsd (missing default case in switch) 3 years ago
manager_linux.go net/dns: exhaustively test DNS selection paths for linux. 3 years ago
manager_linux_test.go all: update tests to use tstest.MemLogger 3 years ago
manager_openbsd.go net/dns: factor directManager out over an FS interface 3 years ago
manager_test.go net/dns: replace resolver IPs with type for DoH 3 years ago
manager_windows.go
nm.go all: gofmt with Go 1.17 3 years ago
noop.go
openresolv.go all: gofmt with Go 1.17 3 years ago
osconfig.go
registry_windows.go
resolvconf-workaround.sh
resolvconf.go net/dns: exhaustively test DNS selection paths for linux. 3 years ago
resolved.go net/dns: fix error wrapping for SetLinkDefaultRoute in resolved 3 years ago
wsl_windows.go