[Pdns-users] poor slave refresh logic

Klaus Darilion klaus.mailinglists at pernau.at
Fri May 20 14:52:01 UTC 2016


Hi!

As far as see PDNS as slave has a poor logic when there are multiple
masters:

On incoming NOTIFY it queues the zone for refresh. The SOA query uses a
random master to get the master's serial. On timeout it does not try
another master.

If the SOA query was successful and the serial is increased, it queues
an AXFR, which uses only the first master.

Thus, if the first master is offline, even if the second master sends
NOTIFYs and has a newer zone, PDNS will never transfer it.

I tried to improve this logic but I am somehow lost in the Inflighter
class and the suck logic.

Are there any plans to improve this logic? Or some ints how this can be
easily achieved?

Thanks
Klaus


More information about the Pdns-users mailing list