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