From 318cdc3ce48adc3630479518443d36d62d2d00fb Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 14 Sep 2017 11:31:26 +0200 Subject: [PATCH] explicitly warn when no hostname can be gathered --- pdns/pdnsutil.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index c3213712d..b7b48ce53 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -593,8 +593,10 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect toCheck = DNSName(rr.content); } - if (!toCheck.empty() && !toCheck.isHostname()) { - cout<<"[Warning] "<