[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> The best way to do this is with the views (aka "split-dns") feature of BIND.  
> Basically, you see where the client is coming from, and serve them different
> information based on who they are.
> 
> A simple setup is something like:
> 
> view "internal" {
>         match-clients { 192.168.0.0/16; };
> 
>         zone "example.com" IN {
>                 type master;
>                 file "internal/db.example";
>         };
> };
> 
> view "external" {
>         match-clients { any; };
>  
>         zone "example.com" IN {
>                 type master;
>                 file "external/db.example";
>         };
> };
> 
> People in the 192.168/16 get info from the /var/named/internal/db.example 
> file, everyone else gets info from the /var/named/external/db.example 
> file....
> 
> later,
> chris

That is a seriously cool aspect of bind I have not seen before!  Thanks
Chris!

-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
<a  rel="nofollow" href="http://www.localnetsolutions.com";>http://www.localnetsolutions.com</a>

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
&lt;jkinney at localnetsolutions.com&gt;
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00958" href="msg00958.html">[ale] Setting up BIND</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="00970" href="msg00970.html">[ale] Setting up BIND</a></strong>
<ul><li><em>From:</em> ALE at MaestroIT.com (Alan Dobkin)</li></ul></li>
<li><strong><a name="00985" href="msg00985.html">[ale] Setting up BIND</a></strong>
<ul><li><em>From:</em> kaboom at gatech.edu (Chris Ricker)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00986.html">[ale] KVM switches</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00988.html">[ale] ALE NW meeting was a success?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00985.html">[ale] Setting up BIND</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00959.html">[ale] :)</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00987"><strong>Date</strong></a></li>
<li><a href="threads.html#00987"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>