From owner-freebsd-questions Thu Jul 20 15:31:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wcug.wwu.edu (sloth.wcug.wwu.edu [140.160.164.200]) by hub.freebsd.org (Postfix) with SMTP id E4D2737B97F for <questions@freebsd.org>; Thu, 20 Jul 2000 15:31:32 -0700 (PDT) (envelope-from doc@wcug.wwu.edu) Received: (qmail 5435 invoked by uid 1074); 20 Jul 2000 22:31:31 -0000 Date: Thu, 20 Jul 2000 15:31:31 -0700 (PDT) From: David Daugherty <doc@wcug.wwu.edu> X-Sender: doc@sloth To: questions@freebsd.org Subject: nslookup has issues Message-ID: <Pine.LNX.3.96.1000720152228.5269A-100000@sloth> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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"; }; 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