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 8d875a301c net/dns: add test for DoH upgrade of system DNS
Someone asked me if we use DNS-over-HTTPS if the system's resolver is an
IP address that supports DoH and there's no global nameserver set (i.e.
no "Override DNS servers" set). I didn't know the answer offhand, and it
took a while for me to figure it out. The answer is yes, in cases where
we take over the system's DNS configuration and read the base config, we
do upgrade any DoH-capable resolver to use DoH. Here's a test that
verifies this behaviour (and hopefully helps as documentation the next
time someone has this question).

Updates #cleanup

Signed-off-by: Andrew Dunham <andrew@tailscale.com>
2 days ago
..
publicdns net/dns: add test for DoH upgrade of system DNS 2 days ago
resolvconffile all: remove AUTHORS file and references to it 5 days ago
resolver all: remove AUTHORS file and references to it 5 days ago
config.go all: remove AUTHORS file and references to it 5 days ago
dbus.go all: remove AUTHORS file and references to it 5 days ago
debian_resolvconf.go all: remove AUTHORS file and references to it 5 days ago
direct.go all: remove AUTHORS file and references to it 5 days ago
direct_linux_test.go all: remove AUTHORS file and references to it 5 days ago
direct_test.go all: remove AUTHORS file and references to it 5 days ago
direct_unix_test.go all: remove AUTHORS file and references to it 5 days ago
dns_clone.go all: remove AUTHORS file and references to it 5 days ago
dns_view.go all: remove AUTHORS file and references to it 5 days ago
flush_default.go all: remove AUTHORS file and references to it 5 days ago
flush_windows.go all: remove AUTHORS file and references to it 5 days ago
ini.go all: remove AUTHORS file and references to it 5 days ago
ini_test.go all: remove AUTHORS file and references to it 5 days ago
manager.go all: remove AUTHORS file and references to it 5 days ago
manager_darwin.go all: remove AUTHORS file and references to it 5 days ago
manager_default.go all: remove AUTHORS file and references to it 5 days ago
manager_freebsd.go all: remove AUTHORS file and references to it 5 days ago
manager_linux.go all: remove AUTHORS file and references to it 5 days ago
manager_linux_test.go all: remove AUTHORS file and references to it 5 days ago
manager_openbsd.go all: remove AUTHORS file and references to it 5 days ago
manager_plan9.go all: remove AUTHORS file and references to it 5 days ago
manager_plan9_test.go all: remove AUTHORS file and references to it 5 days ago
manager_solaris.go all: remove AUTHORS file and references to it 5 days ago
manager_tcp_test.go all: remove AUTHORS file and references to it 5 days ago
manager_test.go net/dns: add test for DoH upgrade of system DNS 2 days ago
manager_windows.go all: remove AUTHORS file and references to it 5 days ago
manager_windows_test.go all: remove AUTHORS file and references to it 5 days ago
nm.go all: remove AUTHORS file and references to it 5 days ago
noop.go all: remove AUTHORS file and references to it 5 days ago
nrpt_windows.go all: remove AUTHORS file and references to it 5 days ago
openresolv.go all: remove AUTHORS file and references to it 5 days ago
osconfig.go all: remove AUTHORS file and references to it 5 days ago
osconfig_test.go all: remove AUTHORS file and references to it 5 days ago
resolvconf-workaround.sh all: remove AUTHORS file and references to it 5 days ago
resolvconf.go all: remove AUTHORS file and references to it 5 days ago
resolvconfpath_default.go all: remove AUTHORS file and references to it 5 days ago
resolvconfpath_gokrazy.go all: remove AUTHORS file and references to it 5 days ago
resolvd.go all: remove AUTHORS file and references to it 5 days ago
resolved.go all: remove AUTHORS file and references to it 5 days ago
utf.go all: remove AUTHORS file and references to it 5 days ago
utf_test.go all: remove AUTHORS file and references to it 5 days ago
wsl_windows.go all: remove AUTHORS file and references to it 5 days ago