2

I have a PowerDNS based master nameserver with 3 slaves. Zone transfer works through AXFR (automatically once every hour it gets checked by the slaves). When I change a record through our panel the notified_serial gets updated correctly as well as the serial in the SOA record.

The nameserver uses a MySQL backend. The slaves don't get notified when changes occur. Nothing is logged when it was supposed to send a Notify. When I force a notify (like: pdns_control notify example.com) the slaves get notified properly.

The config is as follows:

master=yes
setuid=pdns
setgid=pdns
local-address=xx.xxx.xx.xxx
allow-axfr-ips=xx.xxx.xx.xxx

use-logfile=yes
log-dns-details=yes
log-failed-updates=yes
logging-facility=0
loglevel=4

launch=gmysql
gmysql-host=localhost
gmysql-user=xxxxxxxxxxxxxxxx
gmysql-password=xxxxxxxxxxxxxxx
gmysql-dbname=powerdns
2

Don't update notified_serial in your panel; powerdns is supposed to update this after it sent the NOTIFY. See update-serial-query in Master/slave queries.

powerdns will send a NOTIFY if it sees notified_serial != SOA.serial.

3
  • I feel like a idiot.. before we used MySQL replication so I never had any problems with it. It works now! Thanks! – Jona Koudijs Oct 1 '13 at 8:43
  • I have having same issue and still not fix :( – Satish Aug 30 '18 at 3:04
  • found issue, issue was NS record in master was missing – Satish Aug 30 '18 at 3:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.