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/tailcfg
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
..
c2ntypes.go ipn/ipnlocal: add a C2N endpoint for fetching a netmap 4 months ago
derpmap.go tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 10 months ago
proto_port_range.go cmd/tailscale/cli,ipn/conffile: add declarative config mode for Services (#17435) 3 months ago
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 2 years ago
tailcfg.go net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
tailcfg_clone.go tailcfg: kill off rest of HairPinning symbols 2 months ago
tailcfg_test.go tailcfg: kill off rest of HairPinning symbols 2 months ago
tailcfg_view.go tailcfg: kill off rest of HairPinning symbols 2 months ago
tka.go tailcfg: add RPC structs for /tka/affected-sigs 3 years ago