]> granicus.if.org Git - pdns/commitdiff
remove toLower, fix default option
authorPavel Boldin <boldin.pavel@gmail.com>
Fri, 6 Sep 2013 14:39:59 +0000 (18:39 +0400)
committerPavel Boldin <boldin.pavel@gmail.com>
Fri, 6 Sep 2013 14:39:59 +0000 (18:39 +0400)
pdns/backends/bind/bindbackend2.cc

index 35a8f44e820e3154cee6a6d8fe37f54fc3e4574e..ccaa2d2fb8a5ce4174cbfb5d761644f5b81c616c 100644 (file)
@@ -647,7 +647,7 @@ void Bind2Backend::doEmptyNonTerminals(shared_ptr<State> stage, int id, bool nse
   {
     rr.qname=qname+"."+bb2.d_name+".";
     if(nsec3zone)
-      hashed=toLower(toBase32Hex(hashQNameWithSalt(ns3pr.d_iterations, ns3pr.d_salt, rr.qname)));
+      hashed=toBase32Hex(hashQNameWithSalt(ns3pr.d_iterations, ns3pr.d_salt, rr.qname));
     insert(stage, id, rr.qname, rr.qtype, rr.content, rr.ttl, rr.priority, hashed);
   }
 }
@@ -1355,7 +1355,7 @@ class Bind2Factory : public BackendFactory
 
       void declareArguments(const string &suffix="")
       {
-         declare(suffix,"ignore-broken-records","Ignore records that are out-of-bound for the zone.","yes");
+         declare(suffix,"ignore-broken-records","Ignore records that are out-of-bound for the zone.","no");
          declare(suffix,"config","Location of named.conf","");
          declare(suffix,"check-interval","Interval for zonefile changes","0");
          declare(suffix,"supermaster-config","Location of (part of) named.conf where pdns can write zone-statements to","");