powerdns not reloading
HI we are setting up a new dns only server to replace one of the centos 6 servers.
This one has powerdns
All servers set up to use it
standalone for the dns server
syncronise for the cpanel servers
all the same as the other dns only
However if we do a test and edit dns zone on a server we get
Bind reloading on *** using rndc zone
Bind reloading on *** using rndc zone
for each of the existing dns servers
No reload for the new powerdns, is this because powerdns does not need to reload?
-
You should see something like the following for pdns when using journalctl -f -u pdns
during the modification:Feb 11 18:10:26 server.mydomain.com pdns_server[37030]: Reload was requested Feb 11 18:10:26 server.mydomain.com pdns_server[37030]: Reload was requested Feb 11 18:10:37 server.mydomain.com pdns_server[37030]: Zone 'mydomain.com' (/var/named/mydomain.com.db) needs reloading Feb 11 18:10:37 server.mydomain.com pdns_server[37030]: Zone 'mydomain.com' (/var/named/cptecmydomainhsupport.com.db) reloaded Feb 11 18:10:37 server.mydomain.com pdns_server[37030]: Zone 'anotherdomain.net' (/var/named/anotherdomain.net.db) needs reloading Feb 11 18:10:37 server.mydomain.com pdns_server[37030]: Zone 'anotherdomain.net' (/var/named/anotherdomain.net.db) reloaded0 -
We use "edit dns" in WHM. All our dns servers are now switched to powerdns and when editing dns I"ve seent hat we no longer get "bind reloading" I suspect the reason is that powerdns does not need to reload like bind. Zones seem to update on other servers though. 0 -
It's not the same as named/bind but keep in mind it does use a bind backend. When I add/remove items using edit DNS I see the following logged: Feb 12 10:05:32 server pdns_server: Reload was requested Feb 12 10:05:32 server pdns_server: Reload was requested
I'm seeing this pretty much without fail on all DNS zones I edit this way. Their documentation on this states the following here: BIND zone file backend " PowerDNS Authoritative Server documentation [QUOTE] Reloading is currently done only when a request (or zone transfer) for a zone comes in, and then only after bind-check-interval is specified as zero, no checks will be performed until the pdns_control reload is given. Please note that also the0 -
Ok, I guess the "confirmation" in whm saying bind reloading was UI taken from the logs. I"ll have a look at journalctl -f -u pdns To ensure it"s still doing as you say behind the scenes even if whm doesn"t show confirmation. Thanks 0 -
Hi @uk01 Ahh, I'm sorry, I misunderstood that you were just looking in WHM for that output after you modify the zone, bind specified the zone file where pdns doesn't until it actually reloads the specific zone file (on request) which is most likely why this isn't output on the UI - just a different process for the same thing. 0
Please sign in to leave a comment.
Comments
5 comments