[Pdns-users] Race condition during AXFR while updating slaves with two supermasters in high availability

Guy Lee guy at enroute.net
Tue Sep 17 18:17:36 UTC 2019


Hello Users,

 

I'm running in to a race condition problem with two supermasters in a high
availability setup.

 

Zone example.org has both Master1 and Master2 defined as masters in the
database. I make an update on Master1, and it sends a NOTIFY to Master2,
Slave1, and Slave2.

 

Sometimes the slaves request the AXFR from Master2 instead of Master1 who
sent the NOTIFY. Except that Master2 hasn't updated itself yet and doesn't
have the updated serial, so there's nothing to update on the slaves.

 

I worked around it by setting the SOA RETRY value to 1 minute, so it checks
for a newer serial quickly after the update, just in case it was missed.

 

Is there any way to ensure the AXFR is directed at the supermaster who sent
the NOTIFY?

 

PowerDNS Authoritative Server 4.1.9

 

Thanks,

Guy Lee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20190917/e6d9059f/attachment.htm>


More information about the Pdns-users mailing list