mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +00:00
net/dns/resolver: fix test failure
Updates #cleanup Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I0e815a69ee44ca0ff7c0ea0ca3c6904bbf67ed1f
This commit is contained in:
parent
27033c6277
commit
a475c435ec
@ -889,7 +889,9 @@ func (f *forwarder) forwardWithDestChan(ctx context.Context, query packet, respo
|
|||||||
// Attempt to recompile the DNS configuration
|
// Attempt to recompile the DNS configuration
|
||||||
// If we are being asked to forward queries and we have no
|
// If we are being asked to forward queries and we have no
|
||||||
// nameservers, the network is in a bad state.
|
// nameservers, the network is in a bad state.
|
||||||
f.missingUpstreamRecovery()
|
if f.missingUpstreamRecovery != nil {
|
||||||
|
f.missingUpstreamRecovery()
|
||||||
|
}
|
||||||
|
|
||||||
res, err := servfailResponse(query)
|
res, err := servfailResponse(query)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user