Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 11:13:06 -0800 (PST)
From:      Matthew Fremont <m_fremont@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   nslookup and reverse lookup failure of nameserver under 5.2-RELEASE
Message-ID:  <20040125191306.98522.qmail@web20025.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
While doing some post-install config on a new
5.2-RELEASE system, I encountered a problem where
nslookup fails because it isn't able to perform a
successful reverse lookup of the DNS server's IP.

For example:

$ nslookup www.freebsd.org
*** Can't find server name for address 172.16.0.1:
Non-existent host/domain
*** Can't find server name for address ::: No response
from server
*** Default servers are not available
$

An attempt to use nslookup in interactive mode also
fails, producing the same error messages.

172.16.0.1 is Netgear WGR614 router/firewall that, by
default, runs a DNS server (not sure whether it is
caching or just forwarding). There is no apparent way
to add records to the DNS on the WGR614, so the lookup
of the nameserver's IP will always fail.

The nameserver is working properly, and commands like
dig(1), host(1), telnet(1), and ftp(1), are able to
sucessfully resolve names. The problem appears to be
isolated to nslookup(8).

If memory serves me correctly, at some time in the
past nslookup handled a reverse lookup failure of the
server more gracefully, identifying the server as
"Unknown", and continuing with the query.

Is the behavior in 5.2-RELEASE a bug or a feature?


Matthew

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040125191306.98522.qmail>