]> granicus.if.org Git - pdns/commit
auth: remove the default default from the zone_id argument in lookup()
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 9 Jul 2019 20:43:19 +0000 (22:43 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 20 Sep 2019 12:42:27 +0000 (14:42 +0200)
commitacb61e0aa64947e8aa4fa18fe3884192a1d62560
tree407cdd37ba964cb1a893b5f31f48314767251b08
parent6678e5ac11362caedebfdb0e9049c94f4a248a1a
auth: remove the default default from the zone_id argument in lookup()

lookup calls without a zone_id:

modules/lmdbbackend/lmdbbackend.cc:  lookup(QType(QType::SOA), domain, -1);
pdns/communicator.hh:                b->lookup(QType(QType::ANY),name, -1);
pdns/pdnsutil.cc:                    B.lookup(QType(QType::NS), domain, -1);
pdns/pdnsutil.cc:                    B.lookup(QType(QType::A), DNSName(std::to_string(random()))+domain, -1);
pdns/pdnsutil.cc:                    B.lookup(QType(QType::DNSKEY), zone, -1 );
pdns/dnsbackend.cc:                  this->lookup(QType(QType::SOA),domain,-1);
pdns/mastercommunicator.cc:          B->lookup(QType(QType::NS), di.zone, -1);
pdns/ws-auth.cc:                     di.backend->lookup(QType(QType::ANY), qname, -1);
pdns/slavecommunicator.cc:           B->lookup(QType(QType::RRSIG), di.zone, -1);
38 files changed:
modules/bindbackend/bindbackend2.cc
modules/bindbackend/bindbackend2.hh
modules/geoipbackend/geoipbackend.cc
modules/geoipbackend/geoipbackend.hh
modules/ldapbackend/ldapbackend.hh
modules/ldapbackend/native.cc
modules/lmdbbackend/lmdbbackend.cc
modules/lmdbbackend/lmdbbackend.hh
modules/lua2backend/lua2api2.hh
modules/luabackend/luabackend.hh
modules/luabackend/minimal.cc
modules/mydnsbackend/mydnsbackend.cc
modules/mydnsbackend/mydnsbackend.hh
modules/opendbxbackend/odbxbackend.cc
modules/opendbxbackend/odbxbackend.hh
modules/pipebackend/pipebackend.cc
modules/pipebackend/pipebackend.hh
modules/randombackend/randombackend.cc
modules/remotebackend/remotebackend.cc
modules/remotebackend/remotebackend.hh
modules/tinydnsbackend/tinydnsbackend.cc
modules/tinydnsbackend/tinydnsbackend.hh
pdns/backends/gsql/gsqlbackend.cc
pdns/backends/gsql/gsqlbackend.hh
pdns/communicator.hh
pdns/dbdnsseckeeper.cc
pdns/dnsbackend.cc
pdns/dnsbackend.hh
pdns/lua-record.cc
pdns/mastercommunicator.cc
pdns/packethandler.cc
pdns/pdnsutil.cc
pdns/rfc2136handler.cc
pdns/slavecommunicator.cc
pdns/tcpreceiver.cc
pdns/ueberbackend.cc
pdns/ueberbackend.hh
pdns/ws-auth.cc