[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Mar 26 12:58:25 2004 -->
- <!--x-from-r13: xnobbz ng tngrpu.rqh (Quevf Dvpxre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 1080264082.7059.19.camel@devel -->
- <!--x-reference: 557239812.1080296760@[192.168.70.4] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Setting up BIND -->
- <li><em>date</em>: Fri Mar 26 12:58:25 2004</li>
- <li><em>from</em>: kaboom at gatech.edu (Chris Ricker)</li>
- <li><em>in-reply-to</em>: <557239812.1080296760@[192.168.70.4]></li>
- <li><em>references</em>: <1080264082.7059.19.camel@devel> <557239812.1080296760@[192.168.70.4]></li>
- <li><em>subject</em>: [ale] Setting up BIND</li>
> --On Thursday, March 25, 2004 8:21 PM -0500 Chris Fowler
> <cfowler at outpostsentinel.com> wrote:
>
> > Now that I have my domain registered and buford.linxdev.com pointing to
> > 66.23.198.2 I want to now configure BIND for all my machines on the
> > 192.168.1.X private. How can I configure a file for linxdev.com so that
> > it does not get confused with the actual records at:
>
> If you create a local zone for linxdev.com, then that will be considered
> authoritative for your machines, and they will never contact the actual
> public DNS servers for this domain. So, you will need to duplicate the
> public entries (i.e. www, smtp, pop, buford, etc.) in your local zone,
> which will have to be updated whenever these IP addresses change.
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
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00987" href="msg00987.html">[ale] Setting up BIND</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--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>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00984.html">[ale] Nvidia Geforce 2 on Dell Inspirion 8100 "Good News"</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00986.html">[ale] KVM switches</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00973.html">[ale] Setting up BIND</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00987.html">[ale] Setting up BIND</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00985"><strong>Date</strong></a></li>
<li><a href="threads.html#00985"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>