mirror of
https://github.com/coredns/coredns.git
synced 2025-10-03 11:31:13 +02:00
fix typo (#268)
This commit is contained in:
parent
a8fb01bfd2
commit
1decf52cb2
@ -76,7 +76,7 @@ func (k Kubernetes) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.M
|
|||||||
}
|
}
|
||||||
fallthrough
|
fallthrough
|
||||||
default:
|
default:
|
||||||
// Do a fake A lookup, so we can distinguish betwen NODATA and NXDOMAIN
|
// Do a fake A lookup, so we can distinguish between NODATA and NXDOMAIN
|
||||||
_, err = k.A(zone, state, nil)
|
_, err = k.A(zone, state, nil)
|
||||||
}
|
}
|
||||||
if isKubernetesNameError(err) {
|
if isKubernetesNameError(err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user