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
Maisem Ali 99aa335923 net/dns: [linux] log and add metric for dnsMode
I couldn't find any logs that indicated which mode it was running in so adding that.
Also added a gauge metric for dnsMode.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
publicdns net/dns/publicdns: permit more NextDNS profile bits in its IPv6 suffix 2 years ago
resolvconffile all: use strs.CutPrefix and strs.CutSuffix more 2 years ago
resolver all: use strs.CutPrefix and strs.CutSuffix more 2 years ago
config.go net/dns/{publicdns,resolver}: add NextDNS DoH support 2 years ago
debian_resolvconf.go all: remove old +build tags 2 years ago
direct.go net/dns: add a health warning when Linux /etc/resolv.conf is overwritten 2 years ago
direct_linux.go net/dns: make "direct" mode on Linux warn on resolv.conf fights 2 years ago
direct_notlinux.go net/dns: make "direct" mode on Linux warn on resolv.conf fights 2 years ago
direct_test.go all: convert more code to use net/netip directly 2 years ago
flush_default.go all: remove old +build tags 2 years ago
flush_windows.go wgengine: flush DNS cache after major link change. 3 years ago
ini.go all: remove old +build tags 2 years ago
ini_test.go all: remove old +build tags 2 years ago
manager.go net/dns: always attempt to read the OS config on macOS/iOS 2 years ago
manager_darwin.go net/dns: getting base DNS config is not supported on macOS 2 years ago
manager_default.go all: remove old +build tags 2 years ago
manager_freebsd.go refactor: move from io/ioutil to io and os packages 2 years ago
manager_linux.go net/dns: [linux] log and add metric for dnsMode 2 years ago
manager_linux_test.go net/dns: print systemd-resolved ResolvConfMode 2 years ago
manager_openbsd.go net/dns: teach OpenBSD's manager to talk to resolvd(8). (#2789) 3 years ago
manager_tcp_test.go all: convert more code to use net/netip directly 2 years ago
manager_test.go net/dns, types/dnstypes: update some comments, tests for DoH 2 years ago
manager_windows.go net/dns: retry overwriting hosts file on Windows 2 years ago
manager_windows_test.go net/dns: change windows DNS manager to use pointer receiver 2 years ago
nm.go all: remove old +build tags 2 years ago
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 4 years ago
nrpt_windows.go all: fix spelling mistakes 2 years ago
openresolv.go all: remove old +build tags 2 years ago
osconfig.go net/dns: format OSConfig correctly with no pointers (#5766) 2 years ago
osconfig_test.go net/dns: format OSConfig correctly with no pointers (#5766) 2 years ago
resolvconf-workaround.sh net/dns: also include 'tail' and 'base' files when fixing up resolv.conf. 4 years ago
resolvconf.go all: remove old +build tags 2 years ago
resolvd.go all: remove old +build tags 2 years ago
resolved.go all: remove old +build tags 2 years ago
utf.go net/dns: detect and decode UTF-16 from wsl.exe earlier. 3 years ago
utf_test.go net/dns: detect and decode UTF-16 from wsl.exe earlier. 3 years ago
wsl_windows.go net/dns: fix checking for wrapped error when attempting to read wsl.conf for Windows WSL2 3 years ago