PowerDNS not update zones
When we create / edit / delete a record in a zone from "DNS Zone Manager", the page show a success prompt, but it does not update the zone.
After trying to update the zone, we checked the "/var/named/{domain}.db" file and it was not modified. The permissions were:
-rw------- 1 named named 3630 jul 24 23:15 {domain}.db
Additionally, we have a secondary server configured. When we make changes, the secondary server is updated. After an indeterminate amount of time, the records are synchronized and the updates disappear from secondary server.
-
Hey there! Can you run this command against the domain name/zone you're working with to see if that reports any errors?
named-checkzone domain.com /var/named/domain.com.db
0 -
Hello, the command does not report any error.
root@whm:~# named-checkzone plumed.es /var/named/domain.es.db
zone domain.es/IN: loaded serial 2024072801
OK0 -
Thanks for checking that. It looks like the serial numbers on your zone are out of sync, which can cause this type of behavior. I would manually update that serial number to one from today (such as 2024080109) and then sync that zone across the cluster to ensure they all match.
0 -
I do not find how change the serial numbers.
There are any command?
0 -
There is no command to change those - you'll have to do that manually inside the zone. Edit the zone file through SSH, then run this command to update the system:
/scripts/rebuilddnsconfig
then run this command to update the zone across the cluster:
/scripts/dnscluster syncall
0 -
Thanks!! It works.
0 -
I'm glad that took care of things!
0
Please sign in to leave a comment.
Comments
7 comments