tailscale/net/dns
Andrew Dunham 70b7201744 net/dns: fix infinite loop when run on Amazon Linux 2023
This fixes an infinite loop caused by the configuration of
systemd-resolved on Amazon Linux 2023 and how that interacts with
Tailscale's "direct" mode. We now drop the Tailscale service IP from the
OS's "base configuration" when we detect this configuration.

Updates #7816

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I73a4ea8e65571eb368c7e179f36af2c049a588ee
2024-02-16 18:07:32 -05:00
..
publicdns net/dns/publicdns: update Quad9 addresses and references 2023-09-20 16:55:58 -07:00
recursive all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
resolvconffile all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
resolver net/dns/resolver: add ID to verbose logs in forwarder 2024-01-05 15:25:49 -05: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 all: update copyright and license headers 2023-01-27 15:36:29 -08:00
direct.go net/dns: fix infinite loop when run on Amazon Linux 2023 2024-02-16 18:07:32 -05: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 net/dns: retry forwarder requests over TCP 2023-09-25 16:42:07 -04:00
manager_test.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
manager_windows_test.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
manager_windows.go net/dns: use an additional registry setting to disable dynamic DNS updates for our interface on Windows 2023-12-04 09:10:35 -08:00
manager.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08: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 all: use set.Set consistently instead of map[T]struct{} 2023-09-09 10:59:19 -07: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