diff options
Diffstat (limited to 'middleware/file/closest.go')
-rw-r--r-- | middleware/file/closest.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/file/closest.go b/middleware/file/closest.go index 0c5fd722d..895b1a524 100644 --- a/middleware/file/closest.go +++ b/middleware/file/closest.go @@ -37,6 +37,7 @@ func (z *Zone) nameErrorProof(rr dns.RR) []dns.RR { } } + // We do this lookup twice, once for wildcard and once for the name proof. TODO(miek): fix ce := z.ClosestEncloser(rr) wildcard := "*." + ce rr.Header().Name = wildcard |