mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
Better logging for NSEC3
When dropping NSEC3 records provide better logging and add test for NSEC3 records.
This commit is contained in:
@@ -74,7 +74,7 @@ func (z *Zone) Insert(r dns.RR) error {
|
||||
z.Apex.SOA = r.(*dns.SOA)
|
||||
return nil
|
||||
case dns.TypeNSEC3, dns.TypeNSEC3PARAM:
|
||||
return fmt.Errorf("NSEC3 zone is not supported, dropping")
|
||||
return fmt.Errorf("NSEC3 zone is not supported, dropping RR: %s for zone: %s", r.Header().Name, z.origin)
|
||||
case dns.TypeRRSIG:
|
||||
x := r.(*dns.RRSIG)
|
||||
switch x.TypeCovered {
|
||||
|
||||
Reference in New Issue
Block a user