From owner-freebsd-questions Mon Sep 20 14:33:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from list.wildcoast.co.za (list.wildcoast.co.za [196.25.82.3]) by hub.freebsd.org (Postfix) with ESMTP id F276114C3D for ; Mon, 20 Sep 1999 14:33:21 -0700 (PDT) (envelope-from evablunted@earthling.net) Received: from impakt (uta36-01-p02.ec.saix.net [155.239.168.2]) by list.wildcoast.co.za (8.9.3/8.9.3) with SMTP id XAA00943; Mon, 20 Sep 1999 23:29:40 +0200 Message-ID: <00c401bf03ac$6c118910$02a8ef9b@sunnet.co.za> From: "Langa Kentane" To: "Mitch Collinsworth" Cc: "FreeBSD" References: <199909201421.AA205127260@broccoli.graphics.cornell.edu> Subject: Re: DNS problems Date: Mon, 20 Sep 1999 20:50:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all. I found the problem. It was my named.conf file. I didn't have the semi colon after defining the root zone and after the 0.0.127.in-addr.arpa zone. Thanks a lot > >Hi y'all > >I have just set up my dns server. While trying to test it with nslookup I > >came across a problem. > > > >I issued the command 'nslookup ewok.sunnet.co.za' and the response was: > >*** Can't find server name for address 127.0.0.1: Server failed > >*** Can't find server name for address 196.25.1.1: Timed out > >*** Default servers are not available > > > >The reason why the second server timed out is coz that server is my isp's > >and am not yet connected to them by leased line. > > > >My resolv.conf looks like this: > >domain sunnet.co.za > >nameserver 127.0.0.1 > >nameserver 196.25.1.1 > > You need an in-addr.arpa entry for 127.0.0.1. This is a bizarre > error mode of nslookup that I really don't understand the need > for. If nslookup is unable to resolve the IP address of the server > it is querying back to a name, rather than just forge on using numbers > it will give up and refuse to work. See p. 67 of the cricket book > (3rd ed.) for details. > > -Mitch > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message