]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: In `Bind2Backend::lookup()`, use the `zoneId` when we have it 4638/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 26 Oct 2016 13:42:27 +0000 (15:42 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 26 Oct 2016 14:01:52 +0000 (16:01 +0200)
commit937a66255ff05f2e754ef113833e54cc4cf2004b
tree3a7077db85a66513721b3d7175fd06899b18e7ba
parentf354a19533e4bbe244079101f6baa9e23d0aa772
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.
modules/bindbackend/bindbackend2.cc