From owner-freebsd-bugs Thu Aug 2 8:50:36 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B0D3137B403 for ; Thu, 2 Aug 2001 08:50:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f72FoSt51387; Thu, 2 Aug 2001 08:50:28 -0700 (PDT) (envelope-from gnats) Date: Thu, 2 Aug 2001 08:50:28 -0700 (PDT) Message-Id: <200108021550.f72FoSt51387@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: misc/29388: DNS resolver problem (gethostbyaddr) Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/29388; it has been noted by GNATS. From: David Malone To: "Alexander S. Usov" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/29388: DNS resolver problem (gethostbyaddr) Date: Thu, 2 Aug 2001 16:43:14 +0100 On Thu, Aug 02, 2001 at 07:08:45AM -0700, Alexander S. Usov wrote: > >Description: > When I perform dns lookup with gethostbyaddr(3), and destination machine > has an underscore (_) in its name, I get an NO_RECOVERY error code. > When I use dig(1) or nslookup(1) I get a correct answer. An _ in a hostname is not legal. Resolver libraries and name servers are beginning to be more strict and refuse to resolve such names. I suspect this is what you are seeing. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message