From: Pieter Lexis Date: Mon, 30 Oct 2017 15:50:34 +0000 (+0100) Subject: pdnsutil: Warn if records in a zone are eclipsed X-Git-Tag: auth-4.1.0-rc3~11^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6056b9c85ee5671804858b16971f6bd44ac329ae;p=pdns pdnsutil: Warn if records in a zone are eclipsed Fixes #3059 --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 50e7d7600..ebbc5fae5 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -266,7 +266,8 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect bool hasNsAtApex = false; - set tlsas, cnames, noncnames, glue, checkglue; + set tlsas, cnames, noncnames, glue, checkglue, nsrecords; + set > recs; set recordcontents; map ttl; @@ -386,11 +387,18 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect } else if (rr.qtype.getCode() == QType::DNSKEY) { cout<<"[Warning] DNSKEY record not at apex '"<