PowerDNS

Default cPanel installations now use PowerDNS instead of BIND. But the configuration remains the same.

The issue is how to transfer zones from cPanel PowerDNS to BIND nodes.

 

If you try to parse them you might fall into this:

 

 

To make it work and transfer zones:

 

You only need a few changes in /etc/pdns/pdns.conf to make it work:

On the top:

disable-axfr= no ,
And add DNS servers (Nodes) IPs to:
allow-axfr-ips ,
allow-notify-from and
also-notify 

Example pdns.conf, we use “1.2.3.4” and 5.6.7.8 as our DNS Node (Slave) servers

 

 

 

And that it’s. You can use PowerDNS at cPanel servers without switching to BIND if you don’t want to.

You may need to tweak your NOTIFY times or wait the default time when making changes to a zone.

Alternatively you can use “rndc reload domain.com” on the Nodes for faster zone change fetch.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.