From fb484267b7dcbab5d76d709c5f9f4a80dfa8e111 Mon Sep 17 00:00:00 2001 From: Pavel Boldin Date: Fri, 6 Sep 2013 18:39:59 +0400 Subject: [PATCH] remove toLower, fix default option --- pdns/backends/bind/bindbackend2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/backends/bind/bindbackend2.cc b/pdns/backends/bind/bindbackend2.cc index 35a8f44e8..ccaa2d2fb 100644 --- a/pdns/backends/bind/bindbackend2.cc +++ b/pdns/backends/bind/bindbackend2.cc @@ -647,7 +647,7 @@ void Bind2Backend::doEmptyNonTerminals(shared_ptr 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",""); -- 2.50.1