From owner-freebsd-questions Fri Mar 23 22: 9:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail17.sdc1.sfba.home.com (femail17.sdc1.sfba.home.com [24.0.95.144]) by hub.freebsd.org (Postfix) with ESMTP id 38B1337B71A for ; Fri, 23 Mar 2001 22:09:37 -0800 (PST) (envelope-from vcardona@home.com) Received: from marx.marvic.chum ([24.17.229.11]) by femail17.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010324060931.UKIL4686.femail17.sdc1.sfba.home.com@marx.marvic.chum>; Fri, 23 Mar 2001 22:09:31 -0800 Received: (from vcardona@localhost) by marx.marvic.chum (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id f2O6BvW05848; Sat, 24 Mar 2001 00:11:57 -0600 Date: Sat, 24 Mar 2001 00:11:57 -0600 From: "Victor R. Cardona" To: trini0 Cc: Questions Subject: Re: DNS Part II Message-ID: <20010324001157.A5841@marx.marvic.chum> References: <3ABC25D6.4050201@optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <3ABC25D6.4050201@optonline.net>; from trini0@optonline.net on Fri, Mar 23, 2001 at 11:43:02PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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