<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div></div><div class="gmail_quote">On Wed, Sep 7, 2016 at 12:34 PM, /dev/rob0 <span dir="ltr"><<a href="mailto:rob0@gmx.co.uk" target="_blank">rob0@gmx.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Sep 07, 2016 at 11:48:54AM -0400, Bob Harold wrote:<br>
> On Wed, Sep 7, 2016 at 11:37 AM, project722 <<a href="mailto:project722@gmail.com">project722@gmail.com</a>> wrote:<br>
><br>
> > Thanks Bob, I will look into this. Do you know if the forwarders<br>
> > feature is supported in Bind 9.8.2?<br>
> ><br>
> Yes, forwarders is an old and stable feature.<br>
><br>
> ("in-view" is new and experimental)<br>
<br>
</span>"New" is fair to say, if you call BIND 9.10 "new".  OTOH it is<br>
unfair/wrong to call it "experimental".  9.10 has been in stable<br>
release form for quite some time now, and there have been no problems<br>
with the in-view zone feature, AFAIK.</blockquote><div> </div><div>My apologies.  You are correct, it is just not fossilized enough to be the default in most Linux distros.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> > On Wed, Sep 7, 2016 at 9:38 AM, Bob Harold <<a href="mailto:rharolde@umich.edu">rharolde@umich.edu</a>> wrote:<br>
> ><br>
> >><br>
> >> On Tue, Sep 6, 2016 at 5:23 PM, project722 <<a href="mailto:project722@gmail.com">project722@gmail.com</a>> wrote:<br>
<br>
</span>snip<br>
<span class="">> >> Here is the basic structure:<br>
> >><br>
> >> view "internal" {<br>
> >>     match-clients {<br>
> >>           // this list must not match 127.0.0.1<br>
> >>           !key "external";   // use this key to test the external view<br>
> >>           <a href="http://10.0.0.0/8" rel="noreferrer" target="_blank">10.0.0.0/8</a>;<br>
> >>           key "internal";   // use this key to test the internal view<br>
> >>     };<br>
> >>     zone "<a href="http://itd.umich.edu" rel="noreferrer" target="_blank">itd.umich.edu</a>" {    // this zone is different in the two views<br>
> >>           type master;<br>
> >>           file "internal/<a href="http://itd.umich.edu" rel="noreferrer" target="_blank">itd.umich.edu</a>";<br>
> >>     };<br>
> >>     forwarders {<br>
> >>           // forward to external view<br>
> >>           127.0.0.1;<br>
<br>
</span>I have never thought to try this, but I would not expect it to work.<br>
Does it?</blockquote><div> </div><div>It works, and avoids having extra copies of the zones on disk and in memory (I don't have 9.10).  Downsides are the caching in both views, and query logging (if enabled) logs it twice.  </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> >>     };<br>
> >>     forward only;        // optional<br>
> >> };<br>
> >> view "external" {<br>
> >>     match-clients {<br>
> >>           // this list must match 127.0.0.1<br>
> >>           any;<br>
> >>     };<br>
> >>     zone "<a href="http://itd.umich.edu" rel="noreferrer" target="_blank">itd.umich.edu</a>" {    // this zone is different in the two views<br>
> >>           type master;<br>
> >>           file "external/<a href="http://itd.umich.edu" rel="noreferrer" target="_blank">itd.umich.edu</a>";<br>
> >>     };<br>
> >>     zone "10.in-addr.arpa" {   // all other zones will be seen by everyone<br>
> >>           type master;<br>
> >>           file "external/arpa.in-addr.10";<br>
> >>     };<br>
> >>     zone "<a href="http://umich.edu" rel="noreferrer" target="_blank">umich.edu</a>" {<br>
> >>           type master;<br>
> >>           file "external/com.umich";<br>
> >>     };<br>
> >> };<br>
<br>
--<br>
</span>  <a href="http://rob0.nodns4.us/" rel="noreferrer" target="_blank">http://rob0.nodns4.us/</a><br>
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:<br>
<div class="HOEnZb"><div class="h5"><br>
</div></div></blockquote></div><br></div></div>