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
2024-04-17 17:24:38 -04:00
..
publicdns net/dns/{publicdns,resolver}: add start of Control D support 2024-04-07 11:55:37 -07:00
recursive all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
resolvconffile clientupdate, net/dns: fix some "tailsacle" typos 2024-04-03 21:08:25 -07:00
resolver net/dns/resolver: use SystemDial in DoH forwarder 2024-04-17 17:24:38 -04:00
config.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
debian_resolvconf.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
direct_linux.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
direct_notlinux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
direct_test.go clientupdate, net/dns: fix some "tailsacle" typos 2024-04-03 21:08:25 -07:00
direct.go net/dns: close ctx when close dns directManager 2024-03-29 20:47:03 -07:00
flush_default.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
flush_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ini_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ini.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
manager_darwin.go net/dns: fix darwin dns resolver files 2023-11-29 19:25:31 -08:00
manager_default.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
manager_freebsd.go net/dns: log more info when openresolv commands fail 2024-02-13 20:48:54 -05:00
manager_linux_test.go net/dns: use direct when NetworkManager has no systemd-resolved 2023-10-15 17:12:49 -07:00
manager_linux.go net/dns: log more info when openresolv commands fail 2024-02-13 20:48:54 -05:00
manager_openbsd.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
manager_tcp_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
manager_test.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
manager_windows_test.go net/dns: unconditionally write NRPT rules to local settings 2024-04-12 11:56:26 -06:00
manager_windows.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
manager.go cmd/tailscaled: move cleanup to an implicit action during startup 2024-04-09 12:44:08 -07:00
nm.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
noop.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
nrpt_windows.go net/dns: unconditionally write NRPT rules to local settings 2024-04-12 11:56:26 -06:00
openresolv.go net/dns: log more info when openresolv commands fail 2024-02-13 20:48:54 -05:00
osconfig_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
osconfig.go wgengine/magicsock, controlclient, net/dns: reduce some logspam 2023-09-23 11:52:47 -07:00
resolvconf-workaround.sh all: update copyright and license headers 2023-01-27 15:36:29 -08:00
resolvconf.go net/dns: properly detect newer debian resolvconf 2023-10-11 08:38:25 -07:00
resolvconfpath_default.go net/dns: overwrite /tmp/resolv.conf on gokrazy 2023-07-23 09:53:32 -07:00
resolvconfpath_gokrazy.go net/dns: overwrite /tmp/resolv.conf on gokrazy 2023-07-23 09:53:32 -07:00
resolvd.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
resolved.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
utf_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
utf.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wsl_windows.go net/dns: deal with Windows wsl.exe hangs 2023-03-06 16:08:13 -07:00