how to do global zone transfers?

Simon Waters Simon at wretched.demon.co.uk
Tue Aug 14 23:03:16 UTC 2001


Barry Margolin wrote:
> 
> The DNS protocol doesn't provide any way to do this.  But there's nothing
> stopping you from writing a script that uses scp to copy the master's
> named.conf file and then edits all the master zones into slave zones.

If the source is master for all it's zones (or your happy to be
exactly identical) you can use rsync under ssh, just like a
certain other DNS tool you mentioned.

It's pretty easy to script, all the real magic takes place in
the "rsync -avz -e /usr/local/bin/ssh ...." line.

Why not just have two masters, saves editing the conf file, for
as long as they are synced after a change.


More information about the bind-users mailing list