One Domain; Multiple IPs.

Simon Waters Simon at wretched.demon.co.uk
Tue Jul 17 23:57:55 UTC 2001


Steve Ames wrote:
> 
> rsync does work over OpenSSH. I do it everyday.

Works for me to with, urm, Bind 9. Although I dare say it
might be simpler with DJBDNS, as Dan says it is very simple
to sync whole directory structures with rsync and OpenSSH,
even us "feeble minded"/"stubborn"/"diehard" BIND admins can
do it.

A few minor changes to better support such a replication
method (Changing files) in BIND would be generally useful I
think. Obviously BIND 9 will reload based on time stamp, and
rsync will sync timestamps, so that is a good start.

But a "blocking" rndc would be useful - i.e. don't return
till the reload is complete. 

Similarly for starting BIND - perhaps a flag keeping it in
the foreground until the load is complete, or other such
mechanism to easily track at the script level what is
happening (Okay it isn't hard to script a few relevant
"while sleep 5 do dig blahblahblah..." but it would be
cleaner if it was in the C code, especially as regards error
reporting).

I found "rsync" with "Openssh" and "rndc via loopback"
returned unintuitive return codes, never examined it closely
enough to see if this was behaving as documented or a bug in
one of the bits of software. 

Anyway I'm off to try my hand at IPv6, although it could be
a while before I start worrying about DNS in IPv6....
depending how well the various OSes implement it.


More information about the bind-users mailing list