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 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
9 months ago
..
publicdns net/dns/publicdns: update Quad9 addresses and references 9 months ago
recursive all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 10 months ago
resolvconffile all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 1 year ago
resolver net/dns: retry forwarder requests over TCP 9 months ago
config.go all: update copyright and license headers 1 year ago
debian_resolvconf.go all: update copyright and license headers 1 year ago
direct.go net/dns: overwrite /tmp/resolv.conf on gokrazy 11 months ago
direct_linux.go all: update copyright and license headers 1 year ago
direct_notlinux.go all: update copyright and license headers 1 year ago
direct_test.go all: update copyright and license headers 1 year ago
flush_default.go all: update copyright and license headers 1 year ago
flush_windows.go all: update copyright and license headers 1 year ago
ini.go all: update copyright and license headers 1 year ago
ini_test.go all: update copyright and license headers 1 year ago
manager.go net/dns: retry forwarder requests over TCP 9 months ago
manager_darwin.go all: update copyright and license headers 1 year ago
manager_default.go all: update copyright and license headers 1 year ago
manager_freebsd.go all: update copyright and license headers 1 year ago
manager_linux.go net/dns: detect when libnss_resolve is used 11 months ago
manager_linux_test.go net/dns: detect when libnss_resolve is used 11 months ago
manager_openbsd.go all: update copyright and license headers 1 year ago
manager_tcp_test.go net/dns: retry forwarder requests over TCP 9 months ago
manager_test.go net/dns: retry forwarder requests over TCP 9 months ago
manager_windows.go net/dns: deal with Windows wsl.exe hangs 1 year ago
manager_windows_test.go various: add golangci-lint, fix issues (#7905) 1 year ago
nm.go net/{interfaces,netmon}: remove "interesting", EqualFiltered API 10 months ago
noop.go all: update copyright and license headers 1 year ago
nrpt_windows.go all: use set.Set consistently instead of map[T]struct{} 9 months ago
openresolv.go all: update copyright and license headers 1 year ago
osconfig.go wgengine/magicsock, controlclient, net/dns: reduce some logspam 9 months ago
osconfig_test.go all: update copyright and license headers 1 year ago
resolvconf-workaround.sh all: update copyright and license headers 1 year ago
resolvconf.go all: update copyright and license headers 1 year ago
resolvconfpath_default.go net/dns: overwrite /tmp/resolv.conf on gokrazy 11 months ago
resolvconfpath_gokrazy.go net/dns: overwrite /tmp/resolv.conf on gokrazy 11 months ago
resolvd.go all: update copyright and license headers 1 year ago
resolved.go net/dns: don't send on closed channel in resolvedManager 1 year ago
utf.go all: update copyright and license headers 1 year ago
utf_test.go all: update copyright and license headers 1 year ago
wsl_windows.go net/dns: deal with Windows wsl.exe hangs 1 year ago