mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-21 09:11:18 -08:00
net/dns/resolver: fix test failure
Updates #cleanup Signed-off-by: Andrew Dunham <[email protected]> Change-Id: I0e815a69ee44ca0ff7c0ea0ca3c6904bbf67ed1f
This commit is contained in:
1 parent
27033c6277
commit
a475c435ec
1 file changed
+3
-1
@@ -889,7 +889,9 @@ func (f *forwarder) forwardWithDestChan(ctx context.Context, query packet, respo
|
||||
// Attempt to recompile the DNS configuration
|
||||
// If we are being asked to forward queries and we have no
|
||||
// nameservers, the network is in a bad state.
|
||||
f.missingUpstreamRecovery()
|
||||
if f.missingUpstreamRecovery != nil {
|
||||
f.missingUpstreamRecovery()
|
||||
}
|
||||
|
||||
res, err := servfailResponse(query)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user