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/types
Michael Ben-Ami 3f1851a6d9 types/dnstype, ipn/ipnlocal: allow other DNS resolvers with exit nodes
dnstype.Resolver adds a boolean UseWithExitNode that controls
whether the resolver should be used in tailscale exit node contexts
(not wireguard exit nodes). If UseWithExitNode resolvers are found,
they are installed as the global resolvers. If no UseWithExitNode resolvers
are found, the exit node resolver continues to be installed as the global
resolver. Split DNS Routes referencing UseWithExitNode resolvers are also
installed.

Updates #8237

Fixes tailscale/corp#30906
Fixes tailscale/corp#30907

Signed-off-by: Michael Ben-Ami <mzb@tailscale.com>
4 months ago
..
appctype appc,ipn/ipnlocal,types/appctype: implement control provided routes 2 years ago
bools types/bools: fix doc typo (#15021) 10 months ago
dnstype types/dnstype, ipn/ipnlocal: allow other DNS resolvers with exit nodes 4 months ago
empty all: update copyright and license headers 3 years ago
flagtype all: update copyright and license headers 3 years ago
geo types/geo: add geo.Point and its associated units (#16583) 5 months ago
iox types/iox: add function types for Reader and Writer (#14366) 12 months ago
ipproto all: use Go 1.22 range-over-int 2 years ago
jsonx types/jsonx: add package for json/v2 helpers (#15756) 7 months ago
key wgengine/magicsock,all: allocate peer relay over disco instead of PeerAPI (#16603) 5 months ago
lazy types/lazy: add lazy.GMap: a map of lazily computed GValues (#16532) 5 months ago
logger types/logger: release ArgWriter destination after use 7 months ago
logid types/logid: add Add method (#12478) 1 year ago
mapx types/mapx, ipn/ipnext: add ordered map, akin to set.Slice 7 months ago
netlogtype all: update copyright and license headers 3 years ago
netmap Revert "types/netmap,wgengine/magicsock: propagate CapVer to magicsock.endpoint (#16244)" (#16322) 6 months ago
nettype wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 3 years ago
opt all: statically enforce json/v2 interface satisfaction (#15154) 9 months ago
persist cmd/viewer, types/views: implement support for json/v2 (#16852) 4 months ago
prefs cmd/viewer, types/views: implement support for json/v2 (#16852) 4 months ago
preftype cmd/tailscaled,*: add start of configuration file support 2 years ago
ptr all: update copyright and license headers 3 years ago
result types/result, util/lineiter: add package for a result type, use it 1 year ago
structs all: update copyright and license headers 3 years ago
tkatype types/tkatype: add test for MarshaledSignature's JSON format 2 years ago
views cmd/viewer, types/views: implement support for json/v2 (#16852) 4 months ago