From 657c0bf7d754fcfa6e0686db9062bf9c165a31bc Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 29 Jan 2016 13:29:20 +0100 Subject: [PATCH] don't sweat tailing dots on SOA records in checkZone --- pdns/pdnsutil.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 8ceb2f1f8..f6b2071eb 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -495,8 +495,13 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect tmp = drc->getZoneRepresentation(true); if (rr.qtype.getCode() != QType::AAAA) { if (!pdns_iequals(tmp, rr.content)) { - cout<<"[Warning] Parsed and original record content are not equal: "<getZoneRepresentation(false); + } + if(!pdns_iequals(tmp, rr.content)) { + cout<<"[Warning] Parsed and original record content are not equal: "<