]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix bindbackend's feedRecord to handle being slave for the root 3302/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Jan 2016 09:40:45 +0000 (10:40 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Jan 2016 09:40:45 +0000 (10:40 +0100)
commit6b205e29fff58c9610f6406be8e77dd48da38d39
tree6aa09a0c51dbcb8bb3a61cf7424f6af755ec94a7
parent14339e66b80a4736b96ed8ec0b00591cea3ce8ca
Fix bindbackend's feedRecord to handle being slave for the root

Replace the out-of-zone check by using DNSName isPartOf().
Without this commit, importing the Yeti root zone via AXFR fails
with:

"Unable to feed record during incoming AXFR of '.':
out-of-zone data 'aaa..' during AXFR of zone '..'

because stripDomainSuffix("aaa.", ".") returns false.
modules/bindbackend/bindbackend2.cc