Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 19:55:25 -0900
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        trini0 <trini0@optonline.net>, Questions <questions@freebsd.org>
Subject:   Re: DNS Part II
Message-ID:  <01032319552500.00806@galaxy.anchoragerescue.org>
In-Reply-To: <3ABC25D6.4050201@optonline.net>
References:  <3ABC25D6.4050201@optonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 23 March 2001 19:43, trini0 wrote:
> Hey, all.  Purely a newbie experiment here.  I set up a box running
> named purely for name resolution, and mail services just for my little
> lan.  I used the o'reilly dns book to aid me.  With everything done,
> nameresolution did what it was supposed to do.  I noticed that there
> were multiple queries going out on the net to the root servers.  I
> didn't want that to happen, (didn't know if it was illegal or proper).
> I changed my db.cache file to just say that my box was the "root"
> server.  Now that solved the multiple queries going to the root servers,
> but now Im unable to "nslookup" outside my lan, but yet I can still
> surf, send email, etc...  My resolve.conf file specifies to use my
> nameserver first and then my ISP's primary then secondary.  Am I going
> about things wrongly. Is it even possible to have a private dns box
> where it resolves for the lan, and if queries aren't found there, to go
> and query my ISP's name servers??  Hope I made a little bit of sense....
> Thanks for listening.
> trini0

Add these to your named.conf:

In addition to the "forwarders" clause, you can force your name
server to never initiate queries of its own, but always ask its
forwarders only, by enabling the following line:

     	forward only;

If you've got a DNS server around at your upstream provider, enter
its IP address here, and enable the line below.  This will make you
benefit from its cache, thus reduce overall DNS traffic in the Internet.

	forwarders { 208.138.130.16
	};

Beech
-------------------------------------------------------------------
     Beech Rintoul - Network Manager - akbeech@anchoragerescue.org
/"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -----------------------------------------------------------------










To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01032319552500.00806>