[Pdns-users] Powerdns 3.4.8 gmysql + autoserial

paultravers paul.travers at cbsinteractive.com
Thu Apr 7 17:39:24 UTC 2016


Hi, I'm attempting to figure how to get autoserial working in our POC
environment. I've tried to following but my serial doesn't appear to change
when any records are updated:

default-soa-edit=INCEPTION-INCREMENT

backend SOA record = 'a.misconfigured.powerdns.server
hostmaster.foo2.example.com 0 10800 3600 604800 3600'

dig SOA response = 'foo2.example.com.		3600	IN	SOA
a.misconfigured.powerdns.server. hostmaster.foo2.example.com. 2016040701
10800 3600 604800 3600'

I've added a record for test1.foo2.example.com using the powerdns API, and
the record appears in queries, but the serial does not increment and the
backend database has change_date = NULL for all entries.

Am I going about this the wrong way or will we have to add some sort of a
trigger for change_date since according to  here
<https://doc.powerdns.com/md/authoritative/backend-generic-sql/#autoserial>   
"The autoserial functionality makes PowerDNS generate the SOA serial when
the SOA serial set to 0 in the database. The serial in SOA responses is set
to the highest value of the change_date field in the "records" table"



--
View this message in context: http://powerdns.13854.n7.nabble.com/Powerdns-3-4-8-gmysql-autoserial-tp12233.html
Sent from the PowerDNS mailing list archive at Nabble.com.


More information about the Pdns-users mailing list