[Pdns-users] powerdns-master, bind-slave. time to time powerdns resets serial to current date

Jan-Piet Mens jpmens.dns at gmail.com
Sun Jun 30 09:51:39 UTC 2013

> <div>Hello!</div><div> </div><div>I have a version of powerdns 3.0.1.</div><div>It works like the master with mysql backend.</div><div> </div><div>Also I have a slave Bind servers.</div><div> </div><div>In my network, new clients grabs IP from dhcp server, then script triggered by dhcp server inserts a new record to the mysql database and increments SOA serial.</div><div>Every time when serial is updated - bind retransfer the zone. But sometimes I can see that serial on master and slave a different. On the PowerDNS master server it can be a current date, but on the slave it`s far away number, much bigger than serial on the master.</div><div>So I can suppose that sometimes powerdns resets serial to current date and when it happens, bind stops transfer zones from powerdns.</div><div> </div><div>Is there a solution for that problem or any ideas why it happens?</div><div> </div><div>Thanks!</div><div> </div>

(please try and avoid HTML in messages to mailing lists ...)

PowerDNS does not modify a zone's SOA serial number, unless you've
configured DNSSEC and use SOA-EDIT from the domainmetadata table, which
I don't suppose you're doing.

It seems to me as though your updates to the SOA serial are going awry
somehow. You say that PowerDNS' serial is a "date". How are you
formatting that? Are you sure there aren't several different 'scripts'
updating the zone's serial?

I suggest you try and find out how and when that is happening. To
'reset' BIND, I recommend you remove the particular zone file and
relaunch named if you can afford to do so, then keep track of BIND and
PowerDNS' SOA serial with a 

        dig +short @server zone SOA

to try and find out and which point that happens.


More information about the Pdns-users mailing list