Bind 9: localhost. not found: 3(NXDOMAIN)
bobvance at alumni.caltech.edu
Sat Mar 31 23:17:54 UTC 2001
$ host localhost
is a "forward" lookup, looking for an A record for "localhost.domain" ,
whatever your domain is set for.
So, you don't have a *forward* record "localhost..." --> IPaddress
defined anywhere for 'host' to find.
What you defined was a *reverse* lookup RR -- the PTR.
This reverse lookup for 127.0.0.1, being
184.108.40.206.in.addr.arpa. IN PTR
is just to satisfy a stupid requirement of 'nslookup'
(version older than 9 -- this will be the case for
almost all your vendors' versions of 'nslookup'.
In fact, 'nslookup' is so stupid about this "requirement" that he
doesn't care *what* the actual reverse name is -- just so long as it's
In fact, I've done exactly that in some of my configs, just to be
linux1# nslookup.orig bobvl
Server: xxyyzz.foboid <=========== note garbage name :)
Address: 192.168.1.23 <========= yet it found the address ;>)
However, what you've done should satisfy older 'nslookup's just fine.
Tks | <mailto:BVance at sbm.com>
BV | <mailto:BobVance at alumni.caltech.edu>
Sr. Technical Consultant, SBM, A Gates/Arrow Co.
Vox 770-623-3430 11455 Lakefield Dr.
Fax 770-623-3429 Duluth, GA 30097-1511
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Philipp E. Imhof
Sent: Saturday, March 31, 2001 3:47 PM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Bind 9: localhost. not found: 3(NXDOMAIN)
I just installed Bind 9.1.1 and after some problems it really works
The zone "0.0.127.in-addr.arpa" is defined in a text file as
described in the howto. It contains the following:
@ IN SOA host.name. hostmaster.host.name. (
1 PTR localhost.
When I enter
$ host localhost
linux tells me: "localhost. not found: 3(NXDOMAIN)".
I do not understand this error. Can anyone help me? Thanks.
More information about the bind-users