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
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
..
publicdns net/dns/publicdns: remove additional information in DOH URL passed to IPv6 address generation for controlD. 5 months ago
recursive
resolvconffile
resolver net/dns/resolver: log forwarded query details when TS_DEBUG_DNS_FORWARD_SEND is enabled 4 months ago
config.go all: add test for package comments, fix, add comments as needed 5 months ago
debian_resolvconf.go
direct.go net/dns: ensure /etc/resolv.conf is world-readable even with a umask 5 months ago
direct_linux.go
direct_notlinux.go
direct_test.go
direct_unix_test.go net/dns: ensure /etc/resolv.conf is world-readable even with a umask 5 months ago
flush_default.go
flush_windows.go
ini.go
ini_test.go
manager.go net/dns, cmd/tailscaled: plumb system health tracker into dns cleanup (#12969) 4 months ago
manager_darwin.go
manager_default.go
manager_freebsd.go
manager_linux.go
manager_linux_test.go net/dns: ensure /etc/resolv.conf is world-readable even with a umask 5 months ago
manager_openbsd.go
manager_tcp_test.go net/dns, health: raise health warning for failing forwarded DNS queries (#12888) 4 months ago
manager_test.go
manager_windows.go
manager_windows_test.go util/winutil/gp, net/dns: add package for Group Policy API 5 months ago
nm.go
noop.go
nrpt_windows.go util/winutil/gp, net/dns: add package for Group Policy API 5 months ago
openresolv.go
osconfig.go
osconfig_test.go
resolvconf-workaround.sh
resolvconf.go
resolvconfpath_default.go
resolvconfpath_gokrazy.go
resolvd.go
resolved.go
utf.go
utf_test.go
wsl_windows.go net/dns: ensure /etc/resolv.conf is world-readable even with a umask 5 months ago