Fix bindbackend's feedRecord to handle being slave for the root #3302

Merged
merged 1 commit into from Jan 25, 2016

Projects

None yet

2 participants

@rgacogne
Member

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.

@rgacogne rgacogne 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.
6b205e2
@ahupowerdns ahupowerdns merged commit dee7181 into PowerDNS:master Jan 25, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:auth-yeti branch Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment