From owner-freebsd-bugs Thu Aug 2 8:10: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 84CFA37B403 for ; Thu, 2 Aug 2001 08:10:27 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f72FARU45764; Thu, 2 Aug 2001 08:10:27 -0700 (PDT) (envelope-from gnats) Date: Thu, 2 Aug 2001 08:10:27 -0700 (PDT) Message-Id: <200108021510.f72FARU45764@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dima Dorfman Subject: Re: misc/29388: DNS resolver problem (gethostbyaddr) Reply-To: Dima Dorfman 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: Dima Dorfman To: "Alexander S. Usov" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/29388: DNS resolver problem (gethostbyaddr) Date: Thu, 02 Aug 2001 08:09:09 -0700 "Alexander S. Usov" writes: > >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. No, gethostbyaddr() give the correct response because an underscore isn't a valid character in a hostname. dig and nslookup are maintained by ISC; please talk to them about fixing their programs, or at least making the non-compliant behavior optional (e.g., with a command line flag). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message