Thank you for your answer!
 
Well, I have found the problem.
Sometimes I`m using poweradmin for powerdns and it`s do the strange thing. If serial is not the serial it likes -> poweradmin change it to the format -> today_date(YYYYMMDD)+revision(NN).
Often I have serial with future date, because I have a lot of dns updates per day and counter just goes forward. 
 
30.06.2013, 13:54, "Jan-Piet Mens" <[email protected]>:
 <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.

        -JP

_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to