On Fri, Apr 29, 2005 at 09:03:10AM -0400, Fred wrote: > I have a name server running on computer A. I've just acquired computer > B, and I want that to be a slave NS to computer A. > > There is a *per zone* way of doing this with Bind. Problem is, I am > adding domain names -- zones -- frequently to computer A, and want a way > to slave *everything* automatically to computer B. On cursory look into > the Bind docs, I see no obvious way to set this up.
AFAIK there is no such animal. Rather than doing your rsync solution, I think you're better off writing a script to update the zones in named.conf by parsing the zones on the master and converting them to slave zones, and doing a proper zone transfer. Let DNS work for you. If your slave is a 1 for 1 coopy of the zones on the master, this should be easy. This is an excellent idea for a feature request. A slave should have the ability to contact a master and ask what zones it should slave, so that a minimal config can be installed without requiring any maintenance... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail. Sorry for the inconvenience. Thank the spammers.
pgpLcctPlEO3p.pgp
Description: PGP signature