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
Aaron Bieber 189f359609
net/dns: teach OpenBSD's manager to talk to resolvd(8). (#2789)
OpenBSD 6.9 and up has a daemon which handles nameserver configuration. This PR
teaches the OpenBSD dns manager to check if resolvd is being used. If it is, it
will use the route(8) command to tell resolvd to add the Tailscale dns entries
to resolv.conf

Signed-off-by: Aaron Bieber <aaron@bolddaemon.com>
4 years ago
..
resolver net/dns/resolver: on Android, make ExitDNS use net package for DNS 4 years ago
config.go ipnlocal, net/{dns,tsaddr,tstun}, wgengine: support MagicDNS on IPv6 4 years ago
debian_resolvconf.go all: gofmt with Go 1.17 4 years ago
direct.go net/dns: bound time we wait on restarting systemd-resolved in another place 4 years ago
direct_test.go net/dns: require space after nameserver/search parsing resolv.conf 4 years ago
flush_default.go wgengine: flush DNS cache after major link change. 4 years ago
flush_windows.go wgengine: flush DNS cache after major link change. 4 years ago
ini.go all: gofmt with Go 1.17 4 years ago
ini_test.go all: gofmt -w -s (simplify) tests 4 years ago
manager.go ipnlocal, net/{dns,tsaddr,tstun}, wgengine: support MagicDNS on IPv6 4 years ago
manager_default.go all: gofmt with Go 1.17 4 years ago
manager_freebsd.go net/dns: fall back to copy+delete/truncate if moving to/from /etc/resolv.conf fails. 4 years ago
manager_linux.go net/dns: correctly handle NetworkManager-managed DNS that points to resolved. 4 years ago
manager_linux_test.go net/dns: correctly handle NetworkManager-managed DNS that points to resolved. 4 years ago
manager_openbsd.go net/dns: teach OpenBSD's manager to talk to resolvd(8). (#2789) 4 years ago
manager_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 4 years ago
manager_windows.go net/dns: correct log message. 4 years ago
nm.go all: gofmt with Go 1.17 4 years ago
noop.go net/dns: return error from NewOSManager, use it to initialize NM. 5 years ago
openresolv.go all: gofmt with Go 1.17 4 years ago
osconfig.go net/dns: make debian_resolvconf correctly clear DNS configs. 5 years ago
registry_windows.go wgengine/router/dns: move to net/dns. 5 years ago
resolvconf-workaround.sh net/dns: also include 'tail' and 'base' files when fixing up resolv.conf. 5 years ago
resolvconf.go net/dns: exhaustively test DNS selection paths for linux. 4 years ago
resolvd.go net/dns: teach OpenBSD's manager to talk to resolvd(8). (#2789) 4 years ago
resolved.go net/dns: make constants for the various DBus strings. 4 years ago
utf.go net/dns: detect and decode UTF-16 from wsl.exe earlier. 4 years ago
utf_test.go net/dns: detect and decode UTF-16 from wsl.exe earlier. 4 years ago
wsl_windows.go net/dns: fix checking for wrapped error when attempting to read wsl.conf for Windows WSL2 4 years ago