From owner-freebsd-questions Tue Aug 21 15:15:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id B907E37B407 for ; Tue, 21 Aug 2001 15:15:31 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from blossom.cjclark.org (dialup-209.245.130.30.Dial1.SanJose1.Level3.net [209.245.130.30]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id PAA02645; Tue, 21 Aug 2001 15:14:40 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f7LMCr472720; Tue, 21 Aug 2001 15:12:53 -0700 (PDT) (envelope-from cjc) Date: Tue, 21 Aug 2001 15:12:43 -0700 From: "Crist J. Clark" To: Todd Reed Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DIG and NSLOOKUP...server fails Message-ID: <20010821151243.Y313@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ex279@hotmail.com on Tue, Aug 21, 2001 at 01:21:44PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 21, 2001 at 01:21:44PM -0500, Todd Reed wrote: > I've created my zone, boot, and reverse files; but when I do a nslookup, I > get the following error > > *** Can't find server name for address xxx.xxx.xxx.xxx: Server failed > *** Default servers are not available This is telling you that nslookup(1) is lame and should not be used. Consider it depricated. > If I do a DIG, I get: > > ; <<>> DiG 8.3 <<>> mydomain.com > ;; res options: init recurs defnam dnsrch > ;; got answer: > ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > ;; QUERY SECTION: > ;; mydomain.com, type = A, class = IN > > ;; Total query time: 13 msec > ;; FROM: hera.mydomain.com to SERVER: default -- xxx.xxx.xxx.xxx > ;; WHEN: Tue Aug 21 06:23:13 2001 > ;; MSG SIZE sent: 31 rcvd: 31 > > > What is this telling me and where is it going wrong? I've got the BIND and > DNS grasshopper book and have been looking through all the DNS information > for the past two days. Your server is up and listening but not well. The SERVFAIL (2) response indicates that theres is some internal problem that prevents the server from processing the query. Do you have any messages in /var/log/messages from your named(8) startup? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message