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/resolver
Jonathan Nobels c417248c1f net/dns: cache dns.Config for reuse when compileConfig fails (#16059)
fixes tailscale/corp#25612

We now keep track of any dns configurations which we could not
compile. This gives RecompileDNSConfig a configuration to
attempt to recompile and apply when the OS pokes us to indicate
that the interface dns servers have changed/updated.   The manager config
will remain unset until we have the required information to compile
it correctly which should eliminate the problematic SERVFAIL
responses (especially on macOS 15).

This also removes the missingUpstreamRecovery func in the forwarder
which is no longer required now that we have proper error handling
and recovery manager and the client.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
(cherry picked from commit 5e54819cee)
8 months ago
..
debug.go
doh_test.go
forwarder.go net/dns: cache dns.Config for reuse when compileConfig fails (#16059) 8 months ago
forwarder_test.go
macios_ext.go
tsdns.go net/dns: cache dns.Config for reuse when compileConfig fails (#16059) 8 months ago
tsdns_server_test.go
tsdns_test.go