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
Andrew Dunham 530aaa52f1 net/dns: retry forwarder requests over TCP
We weren't correctly retrying truncated requests to an upstream DNS
server with TCP. Instead, we'd return a truncated request to the user,
even if the user was querying us over TCP and thus able to handle a
large response.

Also, add an envknob and controlknob to allow users/us to disable this
behaviour if it turns out to be buggy ( DNS ).

Updates #9264

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ifb04b563839a9614c0ba03e9c564e8924c1a2bfd
1 year ago
..
debug.go all: update copyright and license headers 2 years ago
doh_test.go net/dns/resolver: remove maxDoHInFlight 2 years ago
forwarder.go net/dns: retry forwarder requests over TCP 1 year ago
forwarder_test.go net/dns: retry forwarder requests over TCP 1 year ago
macios_ext.go all: avoid repeated default interface lookups 2 years ago
tsdns.go net/dns: retry forwarder requests over TCP 1 year ago
tsdns_server_test.go all: update copyright and license headers 2 years ago
tsdns_test.go net/dns: retry forwarder requests over TCP 1 year ago