Same zone in multiple views

Barry Margolin barmar at alum.mit.edu
Wed Dec 15 05:32:09 UTC 2004


In article <cpnq09$1e6u$1 at sf1.isc.org>,
 Fredrik Tolf <fredrik at dolda2000.com> wrote:

> On Wed, 2004-12-15 at 09:30 +1100, Mark Andrews wrote:
> > > On Tue, 2004-12-14 at 08:26 -0500, Barry Margolin wrote:
> > > > In article <cplmd0$45s$1 at sf1.isc.org>,
> > > >  Fredrik Tolf <fredrik at dolda2000.com> wrote:
> > > > 
> > > > > However, I have a couple of zones that I want to look the same in 
> > > > > both
> > > > > views (my IPv6 reverse zone and another zone that I'm hosting for a
> > > > > friend). What's the best way to do that? Right now, I've put the same
> > > > > zone declaration in both views. Is this the correct way to do it, or 
> > > > > is
> > > > > there another way of doing it?
> > > > 
> > > > Yes, that's the way.
> > > 
> > > OK, nice to know, at least. =)
> > > 
> > > However, it doesn't seem to work flawlessly (or far from it, actually).
> > > When I do a DDNS update to that zone, it doesn't update until either
> > > after a long time, or after I restart named. I set the TTL of those RRs
> > > top 1800, and at first I thought that might be it, but:
> > 
> > 	You can't share dynamic zones.
> 
> No?! Isn't that kind of... bad? Is there a workaround?

It makes perfect sense.  When it receives the update, it must update the 
zone only in the view corresponding to the sender address.  If you use 
the same file for both views, updates will leak from one view to the 
other.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list