desec-stack icon indicating copy to clipboard operation
desec-stack copied to clipboard

replication: include DNSKEY in the replication state variable (not only SOA serial)

Open peterthomassen opened this issue 4 years ago • 1 comments

If a zone with a high serial (~ "made a few changes today") is deleted and recreated quickly, the SOA serial can end up being lower or equal on the primary than on the secondary nameservers. This may obstruct replication, and the zone is stuck publicly with an old DNSKEY.

To make this work correctly, also trigger replication whenever DNSKEY has changed (i.e. include it in a hash along with the serial, or something like that).

peterthomassen avatar Jun 23 '20 15:06 peterthomassen

Also, consider using https://doc.powerdns.com/authoritative/settings.html#axfr-lower-serial

peterthomassen avatar Jun 23 '20 16:06 peterthomassen