]> granicus.if.org Git - pdns/commitdiff
slightly improve error message if backend unable to store a new zone in pdnssec
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 13 Nov 2015 13:11:47 +0000 (14:11 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 13 Nov 2015 13:11:47 +0000 (14:11 +0100)
pdns/pdnssec.cc

index 3b6c6ee00309a274abe234c2b8592d2a8d534c37..bbd22c6683b55b34599a3fc9d10845f99f80593b 100644 (file)
@@ -894,7 +894,7 @@ int loadZone(DNSName zone, const string& fname) {
     B.createDomain(zone);
     
     if(!B.getDomainInfo(zone, di)) {
-      cerr<<"Domain '"<<zone.toString()<<"' was not created!"<<endl;
+      cerr<<"Domain '"<<zone.toString()<<"' was not created - perhaps backend ("<<::arg()["launch"]<<") does not support storing new zones."<<endl;
       return 1;
     }
   }