From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 11:13:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F00F16A4CE for ; Sun, 25 Jan 2004 11:13:20 -0800 (PST) Received: from web20025.mail.yahoo.com (web20025.mail.yahoo.com [216.136.225.36]) by mx1.FreeBSD.org (Postfix) with SMTP id 72E4543D5D for ; Sun, 25 Jan 2004 11:13:06 -0800 (PST) (envelope-from m_fremont@yahoo.com) Message-ID: <20040125191306.98522.qmail@web20025.mail.yahoo.com> Received: from [24.176.183.107] by web20025.mail.yahoo.com via HTTP; Sun, 25 Jan 2004 11:13:06 PST Date: Sun, 25 Jan 2004 11:13:06 -0800 (PST) From: Matthew Fremont To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: nslookup and reverse lookup failure of nameserver under 5.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 19:13:20 -0000 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/