]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: In `Bind2Backend::lookup()`, use the `zoneId` when we have it 4754/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 26 Oct 2016 13:42:27 +0000 (15:42 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 Dec 2016 08:40:14 +0000 (09:40 +0100)
commitb854d9fec6f7e5636ab4742d716c7d848e0ce0d6
tree7949d0bd7da7a006937250044b00cf20a94fa75a
parentfa84e4bed3a398f605b95f00c35aac96e4fbc0a2
auth: In `Bind2Backend::lookup()`, use the `zoneId` when we have it

After the initial lookup corresponding to a `DNSBackend::getAuth()`,
the subsequent ones already have the `zoneId`, so use it instead of
looping on `chopOff()` again. This should be much more efficient.

(cherry picked from commit 937a66255ff05f2e754ef113833e54cc4cf2004b)
modules/bindbackend/bindbackend2.cc