[Pdns-users] What is best practice with Primary and Secondary (multiple) PowerDNS Servers?

Jacob Bunk Nielsen jbn at one.com
Wed Nov 18 05:41:37 UTC 2020


On 18/11/2020 04.04, Steven Garner via Pdns-users wrote:

> What is the accepted best practice with Primary and Secondary 
> (multiple) PowerDNS Servers?
>
> Assume PowerDNS server is set up with a MySQL (or other) database 
> back-end. With at least 2 servers each on different networks, should 
> the master instance of PowerDNS and each slave instance query the same 
> MySQL DB, or should each one have its own local MySQL DB?

If you have multiple instances that query the same database on a single 
database server, you don't have any redundancy, then why not just have a 
single DNS-server too?

MySQL supports replication, so I'd suggest running a replica of you DNS 
database along with your auth DNS server. Should your master database 
server fail, you'll be unable to update your DNS records, but you'll 
still be able to answer DNS queries based on the replicas.

Best regards,

Jacob



More information about the Pdns-users mailing list