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
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
..
doh_test.go net/dns/resolver: fix skipped DoH test that bitrot 3 years ago
forwarder.go net/dns/resolver: use forwarded dns txid directly 3 years ago
forwarder_test.go net/dns/resolver: add test that I forgot to git add earlier 3 years ago
macios_ext.go all: gofmt with Go 1.17 3 years ago
neterr_darwin.go net/dns/resolver: permit larger max responses, signal truncation 3 years ago
neterr_other.go all: gofmt with Go 1.17 3 years ago
neterr_windows.go net/dns/resolver: permit larger max responses, signal truncation 3 years ago
tsdns.go net/dns/resolver: race well-known resolvers less aggressively 3 years ago
tsdns_server_test.go net/dns/resolver: use forwarded dns txid directly 3 years ago
tsdns_test.go net/dns/resolver: use forwarded dns txid directly 3 years ago