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/ipn
James Tucker c7ce4e07e5 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>
2 years ago
..
ipnauth all: update copyright and license headers 3 years ago
ipnlocal ipn/ipnlocal: allow Split-DNS and default resolvers with WireGuard nodes 2 years ago
ipnserver logpolicy, various: allow overriding log function 3 years ago
ipnstate tailcfg: add NodeCapMap 2 years ago
localapi ipn/ipnlocal: fix missing controlknobs.Knobs plumbing 2 years ago
policy ipn: prefer allow/denylist terminology 3 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 2 years ago
backend.go ipn, ipn/ipnlocal: add session identifier for WatchIPNBus 2 years ago
doc.go all: update copyright and license headers 3 years ago
fake_test.go all: update copyright and license headers 3 years ago
ipn_clone.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2 years ago
ipn_view.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2 years ago
prefs.go ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile 2 years ago
prefs_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2 years ago
serve.go tailcfg: define a type for NodeCapability 2 years ago
serve_test.go tailcfg: define a type for NodeCapability 2 years ago
store.go ipn: avoid useless no-op WriteState calls 2 years ago
store_test.go ipn: avoid useless no-op WriteState calls 2 years ago