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
Adrian Dewhurst 8bdf878832 net/dns/resolver: use forwarded dns txid directly
Previously, we hashed the question and combined it with the original
txid which was useful when concurrent queries were multiplexed on a
single local source port. We encountered some situations where the DNS
server canonicalizes the question in the response (uppercase converted
to lowercase in this case), which resulted in responses that we couldn't
match to the original request due to hash mismatches. This includes a
new test to cover that situation.

Fixes #2597

Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
3 years ago
..
resolver net/dns/resolver: use forwarded dns txid directly 3 years ago
config.go net/dns{,/resolver}: quiet DNS output logging 3 years ago
debian_resolvconf.go all: gofmt with Go 1.17 3 years ago
direct.go
direct_test.go
flush_windows.go
ini.go all: gofmt with Go 1.17 3 years ago
ini_test.go all: gofmt with Go 1.17 3 years ago
manager.go net/dns{,/resolver}: quiet DNS output logging 3 years ago
manager_default.go all: gofmt with Go 1.17 3 years ago
manager_freebsd.go
manager_linux.go
manager_openbsd.go
manager_test.go
manager_windows.go net/dns: correct log message. 3 years ago
nm.go all: gofmt with Go 1.17 3 years ago
noop.go
openresolv.go all: gofmt with Go 1.17 3 years ago
osconfig.go
registry_windows.go
resolvconf-workaround.sh
resolvconf.go all: gofmt with Go 1.17 3 years ago
resolved.go all: gofmt with Go 1.17 3 years ago
wsl_windows.go net/dns: do not run wsl.exe as LocalSystem 3 years ago