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
Nick Khyl f23932bd98 net/dns/resolver: log forwarded query details when TS_DEBUG_DNS_FORWARD_SEND is enabled
Troubleshooting DNS resolution issues often requires additional information.
This PR expands the effect of the TS_DEBUG_DNS_FORWARD_SEND envknob to forwarder.forwardWithDestChan,
and includes the request type, domain name length, and the first 3 bytes of the domain's SHA-256 hash in the output.

Fixes #13070

Signed-off-by: Nick Khyl <nickk@tailscale.com>
4 months ago
..
debug.go all: use Go 1.22 range-over-int 8 months ago
doh_test.go net/dns/resolver: remove maxDoHInFlight 2 years ago
forwarder.go net/dns/resolver: log forwarded query details when TS_DEBUG_DNS_FORWARD_SEND is enabled 4 months ago
forwarder_test.go net/dns/resolver: log forwarded query details when TS_DEBUG_DNS_FORWARD_SEND is enabled 4 months ago
macios_ext.go all: avoid repeated default interface lookups 2 years ago
tsdns.go net/dns, health: raise health warning for failing forwarded DNS queries (#12888) 4 months ago
tsdns_server_test.go all: update copyright and license headers 2 years ago
tsdns_test.go net/dns, health: raise health warning for failing forwarded DNS queries (#12888) 4 months ago