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
Fernando Serboncini 276f54cb8b net/dns,ipn/ipnlocal: add nodecap to resolve subdomains
This adds a new node capability 'dns-subdomain-resolve' that signals
that all of hosts' subdomains should resolve to the same IP address.
It allows wildcard matching on any node marked with this capability.

This change also includes an util/dnsname utility function that lets
us access the parent of a full qualified domain name. MagicDNS takes
this function and recursively searchs for a matching real node name.

One important thing to observe is that, in this context, a subdomain
can have multiple sub labels. This means that for a given node named
machine, both my.machine and be.my.machine will be a positive match.

Updates #1196

Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
1 week ago
..
publicdns feature/featuretags: add option to turn off DNS 4 months ago
resolvconffile clientupdate, net/dns: fix some "tailsacle" typos 2 years ago
resolver net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
config.go net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
dbus.go net/dns, feature/featuretags: make NetworkManager, systemd-resolved, and DBus modular 4 months ago
debian_resolvconf.go net/dns: don't link dbus, gonotify on Android 8 months ago
direct.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
direct_linux_test.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
direct_test.go clientupdate, net/dns: fix some "tailsacle" typos 2 years ago
direct_unix_test.go net/dns: ensure /etc/resolv.conf is world-readable even with a umask 2 years ago
dns_clone.go net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
dns_view.go net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
flush_default.go all: update copyright and license headers 3 years ago
flush_windows.go cmd/tailscaled, net/dns, wgengine/router: start Windows child processes with DETACHED_PROCESS when I/O is being piped 2 years ago
ini.go all: update copyright and license headers 3 years ago
ini_test.go all: update copyright and license headers 3 years ago
manager.go net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
manager_darwin.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_default.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_freebsd.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_linux.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_linux_test.go net/dns: ensure /etc/resolv.conf is world-readable even with a umask 2 years ago
manager_openbsd.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_plan9.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_plan9_test.go net/dns: add Plan 9 support 10 months ago
manager_solaris.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_tcp_test.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_test.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_windows.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
manager_windows_test.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago
nm.go net/dns, feature/featuretags: make NetworkManager, systemd-resolved, and DBus modular 4 months ago
noop.go all: update copyright and license headers 3 years ago
nrpt_windows.go util/winutil/gp, net/dns: add package for Group Policy API 2 years ago
openresolv.go net/dns: don't link dbus, gonotify on Android 8 months ago
osconfig.go feature/featuretags: add option to turn off DNS 4 months ago
osconfig_test.go net/dns: fix IsZero and Equal methods on OSConfig 1 year ago
resolvconf-workaround.sh all: update copyright and license headers 3 years ago
resolvconf.go net/dns: properly detect newer debian resolvconf 2 years ago
resolvconfpath_default.go net/dns: overwrite /tmp/resolv.conf on gokrazy 3 years ago
resolvconfpath_gokrazy.go net/dns: overwrite /tmp/resolv.conf on gokrazy 3 years ago
resolvd.go net/dns: fix blank lines being added to resolv.conf on OpenBSD (#13928) 1 year ago
resolved.go util/backoff: rename logtail/backoff package to util/backoff 4 months ago
utf.go all: update copyright and license headers 3 years ago
utf_test.go all: update copyright and license headers 3 years ago
wsl_windows.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 1 month ago