From owner-freebsd-questions Thu Jul 20 16:14: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.rdc1.sdca.home.com (mail2.rdc1.sdca.home.com [24.0.3.76]) by hub.freebsd.org (Postfix) with ESMTP id 8736237C1FE for ; Thu, 20 Jul 2000 16:13:56 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail2.rdc1.sdca.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20000720231351.DQKG4673.mail2.rdc1.sdca.home.com@home.com>; Thu, 20 Jul 2000 16:13:51 -0700 Message-ID: <397787AF.31FB68CD@home.com> Date: Thu, 20 Jul 2000 16:13:51 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Daugherty Cc: questions@FreeBSD.ORG Subject: Re: nslookup has issues References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Daugherty wrote: > > I recently set up DNS on my router/firewall and nslookup run from the DNS > looks like: > Got root?># nslookup yahoo.com > Server: localhost.ovaloffice.dhs.org > Address: 127.0.0.1 > > Non-authoritative answer: > Name: yahoo.com > Addresses: 204.71.200.243, 204.71.200.245 > > If I run nslookup from an NT box behind the DNS/router/firewall I get: > c:\>nslookup yahoo.com > *** Can't find server name for address 192.168.1.1: Non-existent domain > *** Default servers are not available > Server: UnKnown > Address: 192.168.1.1 > > Non-authoritative answer: > Name: yahoo.com > Addresses: 204.71.200.245, 204.71.200.243 > > my named.conf looks like: > options { > directory "/etc/namedb"; > > forwarders { > 24.0.224.33; > 24.0.224.34; > }; > }; > zone "." { > type hint; > file "named.root"; > }; > > zone "ovaloffice.dhs.org"{ > type master; > file "db.ovaloffice"; > }; > > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "localhost.rev"; > }; > You need to resolve the 192.168.1.x, so you will need something like: zone "1.168.192.IN-ADDR.ARPA" { type master; file "localnet.rev"; }; and localnet.rev has the IP to Name translation fore the internal network address numbers good luck raymundo > and db.ovaloffice looks like: > @ IN SOA truman.ovaloffice.dhs.org. davidd.ovaloffice.dhs.org. ( > 1; > 10800; > 3600; > 604800; > 86400 ); > > IN NS truman.ovaloffice.dhs.org. > truman IN A 192.168.1.1 > > mail IN A 192.168.1.1 > www IN A 192.168.1.1 > news IN A 192.168.1.1 > > localhost IN A 127.0.0.1 > > reagan IN A 192.168.1.88 > > I'm sure I just have a name wrong somewhere in one of these files. What > have I munged up so that it can't resolve the name of the DNS? Probably > trivial since it still works ;) > > David > Software Engineer - NetManage > Work email: david.daugherty@netmanage.com > Home email: doc@wcug.wwu.edu > ICQ 21106703 > Washington State Resident > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message