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 f62e678df8 net/dns/resolver, control/controlknobs, tailcfg: use UserDial instead of SystemDial to dial DNS servers
Now that tsdial.Dialer.UserDial has been updated to honor the configured routes
and dial external network addresses without going through Tailscale, while also being
able to dial a node/subnet router on the tailnet, we can start using UserDial to forward
DNS requests. This is primarily needed for DNS over TCP when forwarding requests
to internal DNS servers, but we also update getKnownDoHClientForProvider to use it.

Updates tailscale/corp#18725

Signed-off-by: Nick Khyl <nickk@tailscale.com>
7 months ago
..
publicdns
recursive
resolvconffile
resolver
config.go
debian_resolvconf.go
direct.go
direct_linux.go
direct_notlinux.go
direct_test.go
flush_default.go
flush_windows.go
ini.go
ini_test.go
manager.go
manager_darwin.go
manager_default.go
manager_freebsd.go
manager_linux.go
manager_linux_test.go
manager_openbsd.go
manager_tcp_test.go
manager_test.go
manager_windows.go
manager_windows_test.go
nm.go
noop.go
nrpt_windows.go
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