summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2023-09-19 15:55:34 -0700
committerJames Tucker <jftucker@gmail.com>2023-09-19 16:29:57 -0700
commitc7ce4e07e5c43f172d2655c4fe5c6d85731bb70b (patch)
treedb59d31233a58df4f40c8223175e79e2c3b7eccd /control/controlknobs/controlknobs.go
parent3056a98bbdcec3308a3b6f74cdcd9f0d9b11922a (diff)
downloadtailscale-c7ce4e07e5c43f172d2655c4fe5c6d85731bb70b.tar.xz
tailscale-c7ce4e07e5c43f172d2655c4fe5c6d85731bb70b.zip
ipn/ipnlocal: allow Split-DNS and default resolvers with WireGuard nodes
The initial implementation directly mirrored the behavior of Tailscale exit nodes, where the WireGuard exit node DNS took precedence over other configuration. This adjusted implementation treats the WireGuard DNS resolvers as a lower precedence default resolver than the tailnet default resolver, and allows split DNS configuration as well. This also adds test coverage to the existing DNS selection behavior with respect to default resolvers and split DNS routes for Tailscale exit nodes above cap 25. There may be some refinement to do in the logic in those cases, as split DNS may not be working as we intend, though that would be a pre-existing and separate issue. Updates #9377 Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions