Multiple zones share same DB?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Feb 3 21:16:18 UTC 2003


> 
> 
> 
> > -----Original Message-----
> > From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> > Behalf Of Pete Ehlke
> > Sent: Monday, February 03, 2003 11:42 AM
> > To: Lee M Dobson
> > Cc: bind-users at isc.org
> > Subject: Re: Multiple zones share same DB?
> > 
> > 
> > On Mon, Feb 03, 2003 at 11:19:13AM -0500, Lee M Dobson wrote:
> > >
> > > Gotcha, I had neglected to use "@" and was trying to use multiple
> > $ORIGIN`s
> > > and RR`s in my db record, which is why it was complaining about out
> of
> > zone
> > > data. :)  Usually I
> > > would maintain a separate DB record for each zone although on this
> > occasion
> > > I have two domains within different ORIGINS which I would prefer to
> use
> > the
> > > same DB record
> > > to keep things tidy.
> > >
> > Remember that this only works on masters. @ is rewritten to the
> current
> > $ORIGIN on axfr, so slaves *must* have unique db files per zone.
> 
> 
> Pete brings up a very good point.  You will need to adjust your zone
> statements on the slave to create a *unique* backup file for each zone.
> I recommend a perl script for large numbers of zones.
> 
> 
> Thanks,
> 
> Dave...
> 
> 
> > 
> > -Pete
> 
> 
	It also will *not* work for master zones with "allow-update"
	enabled.
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list