]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Change hostname validation check output to Info
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 25 Jan 2017 16:10:25 +0000 (17:10 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 25 Jan 2017 16:10:25 +0000 (17:10 +0100)
pdns/pdnsutil.cc

index 5b2910d2ef723eb3b42d4aab0853f58908f7e04e..2897203f5cb1380d216b35d8caed6890435cd0eb 100644 (file)
@@ -584,8 +584,7 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect
       Regex hostnameRegex=Regex("^(([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])?)\\.)+$");
       if (!hostnameRegex.match(rr.qname.toString()))
       {
-        cout<<"[Error] A or AAAA record found at '"<<rr.qname.toString()<<"'. This name is not a valid hostname."<<endl;
-        numerrors++;
+        cout<<"[Info] A or AAAA record found at '"<<rr.qname.toString()<<"'. This name is not a valid hostname."<<endl;
         continue;
       }
     }