Replies: 1 comment
-
In general (not specific to PowerDNS), it is wise to make sure all writes happen on the same instance, so writes cannot conflict with eachother. In the PowerDNS case, this is accomplished by only having primary=yes/secondary=yes enabled in one instance (or, in zero!), and by pointing all your API calls at one instance.
Do you mean primary/secondary in the DNS AXFR sense? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using PowerDNS with a MySQL (MariaDB) backend to manage my DNS zones. My goal is to ensure that any changes made to a zone on one PowerDNS server are automatically replicated to another PowerDNS server.
I have reviewed the PowerDNS documentation but couldn't find clear information regarding support for primary-primary (master-master) replication for DNS zones using a MySQL backend. Is it possible to configure PowerDNS to handle zone synchronization automatically via primary-primary database replication? If this is not directly supported, could you recommend the best approach to achieve this goal?
One option I am considering is setting up master-master replication for MariaDB. This would allow each MariaDB server to replicate changes made on the other server, ensuring that DNS records are synchronized between both PowerDNS servers. Do you think this approach would work well with PowerDNS? Are there any specific points or additional configurations to consider to ensure seamless integration between PowerDNS and MariaDB in a master-master replication setup?
Additionally, I would like to know if it's possible to have one server act as the primary and the other as a secondary while using master-master replication for MariaDB. How would this setup impact the operation of PowerDNS, and are there any best practices for implementing such a configuration?
For reference, here are the IP addresses of the servers involved in this setup:
PowerDNS Server 1: 10.144.0.43
PowerDNS Server 2: 10.144.0.44
Here are some details about my current configuration:
Thank you in advance for any suggestions or advice you can provide on this topic.
Beta Was this translation helpful? Give feedback.
All reactions