mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
Add nameerror proof
This commit is contained in:
@@ -72,8 +72,7 @@ func (z *Zone) nameError(elem *tree.Elem, rr dns.RR, do bool) ([]dns.RR, []dns.R
|
||||
ret := []dns.RR{z.SOA}
|
||||
if do {
|
||||
ret = append(ret, z.SIG...)
|
||||
// Now we need two NSEC, one to deny the wildcard and one to deny the name.
|
||||
// Needs closest encloser!!
|
||||
ret = append(ret, z.nameErrorProof(rr)...)
|
||||
}
|
||||
return nil, ret, nil, NameError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user