Habbie/powerdns — pull request #73 by jimmybergman (2012-11-20 09:55:23+00:00)
Title: Stop producing duplicate NSEC* records on AXFR of presigned zone

When having a zone with PRESIGNED=1 and the database populated with records, RRSIGs and NSEC records an outbound AXFR produced duplicate NSEC records.

One copy came from listing the zone and one copy from generating the NSEC records on demand.

The patch excludes NSEC* records while listing the zone, so that the only copy in the response
is the generated one.

For NSEC we could have done it the other way around, but the patch means that we treat NSEC and NSEC3 more alike which IMO is easier to follow.