Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2001 00:11:57 -0600
From:      "Victor R. Cardona" <vcardona@home.com>
To:        trini0 <trini0@optonline.net>
Cc:        Questions <questions@FreeBSD.ORG>
Subject:   Re: DNS Part II
Message-ID:  <20010324001157.A5841@marx.marvic.chum>
In-Reply-To: <3ABC25D6.4050201@optonline.net>; from trini0@optonline.net on Fri, Mar 23, 2001 at 11:43:02PM -0500
References:  <3ABC25D6.4050201@optonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 23, 2001 at 11:43:02PM -0500, trini0 wrote:
> 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

nsllokup only uses the first primary nameserver. That is why you can
only query local names with nsllokup. Your nameserver no longer knows
how to find the root nameservers, and cannot answer queries for external
addresses. Why don't you just set the "forwarders" option in
/etc/namedb/named.conf? This will cause queries for external addresses
to be forwarded to the nameservers you list.

I use the "forwarders" option so that queries for external addresses go
to my ISPs DNS servers. Queries for internal addresses are still handled
by my personal nameserver.

HTH,
Victor
-- 
Victor R. Cardona
vcardona@home.com

                "Behold the keyboard of Kahless, the greatest Klingon 
                  code warrior that ever lived!"


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?20010324001157.A5841>