[Pdns-users] Merging two DNS servers

Bogdan Enache hostmaster at intersat-telecom.ro
Wed Feb 23 10:59:19 UTC 2011


Just multiply the IDs on the first server with 2, and on the second one 
multiply by 2 and add 1.

This will ensure you get even ids on one server and odd ids on the 
other. Then merge the databases.



On 22.02.2011 17:21, Ian Mordey wrote:
> Cool. Thanks for responses. I'll probably go with the insert of domains
> and zone transfer the records in.
>
> Cheers
>
> -----Original Message-----
> From: pdns-users-bounces at mailman.powerdns.com
> [mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Thomas
> Mieslinger
> Sent: 22 February 2011 11:23
> To: pdns-users at mailman.powerdns.com
> Subject: Re: [Pdns-users] Merging two DNS servers
>
> Am 22.02.2011 11:57, schrieb Ian Mordey:
>> Can anyone think of another way of doing this? Has anyone attempted
> Nope
>
>> anything like this before?
> Not this, but merging 10 bindservers into pdns superslaves.
>
> I'd suggest you just select the zones of one pdns (without domainid)
> into an outfile, load the file into the other database and restart the
> pdns. It will notice all the missing Zonerecords and transfer them fast.
>
> (2k Zones in under 5 Minutes with Zone lengths up to 20k records)
>
> Hope this helps
>
> Thomas
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list