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
Andrew Dunham b85c2b2313 net/dns/resolver: use SystemDial in DoH forwarder
This ensures that we close the underlying connection(s) when a major
link change happens. If we don't do this, on mobile platforms switching
between WiFi and cellular can result in leftover connections in the
http.Client's connection pool which are bound to the "wrong" interface.

Updates #10821
Updates tailscale/corp#19124

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ibd51ce2efcaf4bd68e14f6fdeded61d4e99f9a01
7 months ago
..
publicdns net/dns/{publicdns,resolver}: add start of Control D support 7 months ago
recursive all: use Go 1.22 range-over-int 7 months ago
resolvconffile clientupdate, net/dns: fix some "tailsacle" typos 7 months ago
resolver net/dns/resolver: use SystemDial in DoH forwarder 7 months ago
config.go
debian_resolvconf.go
direct.go net/dns: close ctx when close dns directManager 7 months ago
direct_linux.go all: cleanup unused code, part 2 (#10670) 11 months ago
direct_notlinux.go
direct_test.go clientupdate, net/dns: fix some "tailsacle" typos 7 months ago
flush_default.go
flush_windows.go
ini.go
ini_test.go
manager.go cmd/tailscaled: move cleanup to an implicit action during startup 7 months ago
manager_darwin.go
manager_default.go
manager_freebsd.go net/dns: log more info when openresolv commands fail 9 months ago
manager_linux.go net/dns: log more info when openresolv commands fail 9 months ago
manager_linux_test.go
manager_openbsd.go
manager_tcp_test.go all: use Go 1.22 range-over-int 7 months ago
manager_test.go all: cleanup unused code, part 2 (#10670) 11 months ago
manager_windows.go all: use Go 1.22 range-over-int 7 months ago
manager_windows_test.go net/dns: unconditionally write NRPT rules to local settings 7 months ago
nm.go all: cleanup unused code, part 2 (#10670) 11 months ago
noop.go
nrpt_windows.go net/dns: unconditionally write NRPT rules to local settings 7 months ago
openresolv.go net/dns: log more info when openresolv commands fail 9 months ago
osconfig.go
osconfig_test.go
resolvconf-workaround.sh
resolvconf.go
resolvconfpath_default.go
resolvconfpath_gokrazy.go
resolvd.go
resolved.go all: cleanup unused code, part 2 (#10670) 11 months ago
utf.go
utf_test.go
wsl_windows.go