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/resolver
Brad Fitzpatrick 24a04d07d1 net/dns/resolver: handle tabs as whitespace when ExitDNS parses resolv.conf
On Synology, the /etc/resolv.conf has tabs in it, which this
resolv.conf parser (we have two, sigh) didn't handle.

Updates #3710

Change-Id: I86f8e09ad1867ee32fa211e85c382a27191418ea
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
debug.go net/dns/resolver: add debug HTML handler to see what DNS traffic was forwarded 3 years ago
doh_test.go net/dns: replace resolver IPs with type for DoH 3 years ago
forwarder.go net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
forwarder_test.go net/dns/resolver: add nameFromQuery benchmark 3 years ago
macios_ext.go all: simplify ts_macext build tags 3 years ago
tsdns.go net/dns/resolver: handle tabs as whitespace when ExitDNS parses resolv.conf 3 years ago
tsdns_server_test.go net/dns/resolver: add Windows ExitDNS service support, using net package 3 years ago
tsdns_test.go all: gofmt -w -s (simplify) tests 3 years ago