From: Kees Monshouwer Date: Sun, 10 Nov 2013 21:09:55 +0000 (+0100) Subject: remove updateDNSSECOrderAndAuthAbsolute from bind backend X-Git-Tag: rec-3.6.0-rc1~344^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a8234028f5d65495820f9327bef8f4e145bbddd;p=pdns remove updateDNSSECOrderAndAuthAbsolute from bind backend --- diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index ad1056952..7191bf166 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -217,28 +217,6 @@ bool Bind2Backend::abortTransaction() return true; } -bool Bind2Backend::updateDNSSECOrderAndAuthAbsolute(uint32_t domain_id, const std::string& qname, const std::string& ordername, bool auth) -{ - #if 0 - const shared_ptr state = getState(); - BB2DomainInfo& bbd = state->id_zone_map[domain_id]; - - string sqname; - - if(bbd.d_name.empty()) - sqname=qname; - else if(strcasecmp(qname.c_str(), bbd.d_name.c_str())) - sqname=qname.substr(0,qname.size() - bbd.d_name.length()-1); // strip domain name - - sqname = labelReverse(sqname); - - if(!auth) - d_authDelayed[sqname] = auth; - - #endif - return false; -} - bool Bind2Backend::feedRecord(const DNSResourceRecord &r, string *ordername) { string qname=r.qname; diff --git a/modules/bindbackend/bindbackend2.hh b/modules/bindbackend/bindbackend2.hh index e55478723..a6dbb1b73 100644 --- a/modules/bindbackend/bindbackend2.hh +++ b/modules/bindbackend/bindbackend2.hh @@ -148,7 +148,6 @@ public: bool feedRecord(const DNSResourceRecord &r, string *ordername=0); bool commitTransaction(); bool abortTransaction(); - bool updateDNSSECOrderAndAuthAbsolute(uint32_t domain_id, const std::string& qname, const std::string& ordername, bool auth); void alsoNotifies(const string &domain, set *ips); // the DNSSEC related (getDomainMetadata has broader uses too)