[Pdns-users] another migration from bind to pdns.... ( or pdns to bind )
bert hubert
ahu at ds9a.nl
Mon Jan 5 11:52:24 UTC 2004
On Mon, Jan 05, 2004 at 12:04:32PM +0200, Etienne Ledoux wrote:
> Everything seems to be ready, I need only one more thing.
>
> If a week later it seems like this was a bad idea (which I doubt) I need to be
> able to migrate pdns back to bind. I'm currently using mysql and used
> zone2sql to migrate my bind config to sql successfully. Does anybody have a
> similar script that would allow me to migrate the info in sql to a bind
> config. I doubt I would need it, but I would like to tell mgmt that we can
> roll back if needed.
You can AXFR all zones back if you want, dig outputs a zonefile that can be
read by bind. Just keep a list of all zones you have.
This does not preserve ownership of masters, slaves etc.
A script could be written that does all that of course.
Good luck!
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
More information about the Pdns-users
mailing list