[Pdns-users] Two R/W DNS servers

Simon McCartney simon at mccartney.ie
Sun Nov 23 23:49:01 UTC 2008


Maysara A. Abdulhaq wrote:
> Hello all,
> 
> I'm wondering if someone has configured PDNS with db(mysql?) backend
> to do native replication but in two ways ... that is, i could
> add/modify records and domains on either one of two servers and have
> it replicated to the other, this maybe involves configuring/setting up
> "database distribution", no ?

You could do this using MySQL as your backend and doing MySQL 
replication between your dns/database servers.

MySQL replication is relatively simple in concept, each database can 
slave off another, so that any changed made to the master are replicated 
out to the slave.  In order to have this work bi-directionally, database 
server A is configured as a master, with B slaving off A.  A is then 
configured to slave off A, completing the loop.

There's plenty of online documentation on configuring MySQL replication, 
and I use MySQL replicated back-ends in our PDNS environment.

HTH,

Simon.

-- 
Simon McCartney
E: simon at mccartney.ie 		M: +44 7710 836 915
IM/MSN: simonmcc at hotmail.com	IM/Y!: simon_mcc


More information about the Pdns-users mailing list