Setup PowerDNS advice

markstoep

New member
Joined
Jan 26, 2022
Messages
2
Hello,

I'm looking for a good solution about the installation of my DNS servers.

What I would is the next setup:
- PowerDNS as master server (ns1)
- Second PowerDNS as slave (n2)

This is my problem:
- DirectAdmin DNS server disabled but the posibility to do changes on the DNS from the DA controlpanel. Also if there are changes in the PowerDNS side it must be visible on the DA controlpanel


Given the situation, we do not yet see what the most efficient solution is for this.
I would like to receive tips on how to configure this.


dns.png
 
Its not currently supported natively.

Best you can do is have DA be master and update PDNS.

Vote for the feature here
 
Mark,

I have DNS on DirectAdmin as a hidden master, with it set up in two PowerDNS slaves as a supermaster. Domains get added to both PowerDNS servers automatically and I run a cron slaves to automatically clean out zones that get stale. In my case, the two PowerDNS slaves are using sqlite3 as the database backend and they are small VPS since they don't need the resources for a full blown MySQL install just to be slaves. I've been running this setup with DA since day 1 since I ran the same setup with cPanel for years before migrating. I literally just updated the master settings in the slaves when migrating from cPanel to DA and continued to use the same slaves, so no name server changes in the domains needed.

You can have multiple DA servers set up as supermasters so that a small number of PowerDNS servers can provide DNS for an entire cluster of DA servers. I have had zero issues with the setup, and have two other PowerDNS slave clusters with hidden masters of various types besides the DA one with 7 PowerDNS slaves in total. One cluster runs 60 second TTLs for a special purpose dynamically updating DNS setup, and no issues with that even. Only issue was a slave OS crashed/corrupted after a power failure at the datacenter caused an abnormal shutdown. A quick clone of another slave and update of the supermaster record, promptly fixed that. I really like this PowerDNS slave setup with supermasters, so I highly recommend it.

Would be nice to have native PowerDNS support in DA since I really like PowerDNS, but I don't really care what DA uses internally since this works so well anyway.

Regards,
Ron
 
Mark,

I have DNS on DirectAdmin as a hidden master, with it set up in two PowerDNS slaves as a supermaster. Domains get added to both PowerDNS servers automatically and I run a cron slaves to automatically clean out zones that get stale. In my case, the two PowerDNS slaves are using sqlite3 as the database backend and they are small VPS since they don't need the resources for a full blown MySQL install just to be slaves. I've been running this setup with DA since day 1 since I ran the same setup with cPanel for years before migrating. I literally just updated the master settings in the slaves when migrating from cPanel to DA and continued to use the same slaves, so no name server changes in the domains needed.

You can have multiple DA servers set up as supermasters so that a small number of PowerDNS servers can provide DNS for an entire cluster of DA servers. I have had zero issues with the setup, and have two other PowerDNS slave clusters with hidden masters of various types besides the DA one with 7 PowerDNS slaves in total. One cluster runs 60 second TTLs for a special purpose dynamically updating DNS setup, and no issues with that even. Only issue was a slave OS crashed/corrupted after a power failure at the datacenter caused an abnormal shutdown. A quick clone of another slave and update of the supermaster record, promptly fixed that. I really like this PowerDNS slave setup with supermasters, so I highly recommend it.

Would be nice to have native PowerDNS support in DA since I really like PowerDNS, but I don't really care what DA uses internally since this works so well anyway.

Regards,
Ron

Thank you Ron for taking the time to respond. I will try out your setup.
 
Back
Top