From owner-freebsd-questions Mon Sep 20 7:21:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from broccoli.graphics.cornell.edu (broccoli.graphics.cornell.edu [128.84.247.53]) by hub.freebsd.org (Postfix) with ESMTP id 7054015661 for ; Mon, 20 Sep 1999 07:21:04 -0700 (PDT) (envelope-from mkc@Graphics.Cornell.EDU) Received: from graphics.cornell.edu (localhost.graphics.cornell.edu) by broccoli.graphics.cornell.edu with ESMTP (1.37.109.16/16.2) id AA205127260; Mon, 20 Sep 1999 10:21:01 -0400 Message-Id: <199909201421.AA205127260@broccoli.graphics.cornell.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Langa Kentane" Cc: "FreeBSD" Subject: Re: DNS problems In-Reply-To: Your message of "Mon, 20 Sep 1999 09:50:44 +0200." <003301bf033d$1710f960$3ba8ef9b@sunnet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Sep 1999 10:21:00 -0400 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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