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
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
..
ace all: remove AUTHORS file and references to it 5 days ago
art all: remove AUTHORS file and references to it 5 days ago
bakedroots all: remove AUTHORS file and references to it 5 days ago
batching all: remove AUTHORS file and references to it 5 days ago
captivedetection all: remove AUTHORS file and references to it 5 days ago
connectproxy all: remove AUTHORS file and references to it 5 days ago
dns net/dns: add test for DoH upgrade of system DNS 2 days ago
dnscache all: remove AUTHORS file and references to it 5 days ago
dnsfallback all: remove AUTHORS file and references to it 5 days ago
flowtrack all: remove AUTHORS file and references to it 5 days ago
ipset all: remove AUTHORS file and references to it 5 days ago
ktimeout all: remove AUTHORS file and references to it 5 days ago
memnet all: remove AUTHORS file and references to it 5 days ago
netaddr all: remove AUTHORS file and references to it 5 days ago
netcheck all: remove AUTHORS file and references to it 5 days ago
neterror all: remove AUTHORS file and references to it 5 days ago
netkernelconf all: remove AUTHORS file and references to it 5 days ago
netknob all: remove AUTHORS file and references to it 5 days ago
netmon all: remove AUTHORS file and references to it 5 days ago
netns all: remove AUTHORS file and references to it 5 days ago
netstat all: remove AUTHORS file and references to it 5 days ago
netutil all: remove AUTHORS file and references to it 5 days ago
netx all: remove AUTHORS file and references to it 5 days ago
packet all: remove AUTHORS file and references to it 5 days ago
ping all: remove AUTHORS file and references to it 5 days ago
portmapper all: remove AUTHORS file and references to it 5 days ago
proxymux all: remove AUTHORS file and references to it 5 days ago
routetable all: remove AUTHORS file and references to it 5 days ago
sockopts all: remove AUTHORS file and references to it 5 days ago
socks5 all: remove AUTHORS file and references to it 5 days ago
sockstats all: remove AUTHORS file and references to it 5 days ago
speedtest all: remove AUTHORS file and references to it 5 days ago
stun all: remove AUTHORS file and references to it 5 days ago
stunserver all: remove AUTHORS file and references to it 5 days ago
tcpinfo all: remove AUTHORS file and references to it 5 days ago
tlsdial all: remove AUTHORS file and references to it 5 days ago
tsaddr all: remove AUTHORS file and references to it 5 days ago
tsdial all: remove AUTHORS file and references to it 5 days ago
tshttpproxy all: remove AUTHORS file and references to it 5 days ago
tstun all: remove AUTHORS file and references to it 5 days ago
udprelay all: remove AUTHORS file and references to it 5 days ago
wsconn all: remove AUTHORS file and references to it 5 days ago