[Pdns-users] BIND Primary, PowerDNS Secondaries....

bert hubert bert.hubert at netherlabs.nl
Fri Jul 28 10:09:54 UTC 2006

On Fri, Jul 28, 2006 at 10:52:57AM +0100, Mark Watts wrote:

> I've got a couple of zones which are served by a BIND master (we've got some 
> custom zone checking scripts) and PowerDNS slaves.
> This works great but we've still got to configure the slaves with the zone 
> records.
> Does anyone else do this, and if so, how to you manage the updating of the 
> slave configs in a sensible fashion?

You could try the supermaster setup, but it is not 100% reliable not
guaranteed to work quickly. It does interoperate with BIND though. Just
setup bind to notify your PowerDNS slaves.

Otherwise you'd have to parse your named.conf to extract the new domains,
and sync them with PowerDNS using a script.

One trick is to add a field to the 'domains' table which helps you keep
track which master a domain came from, and if it is autosynced.

Good luck!

http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

More information about the Pdns-users mailing list