Date: Thu, 2 Aug 2001 08:10:27 -0700 (PDT) From: Dima Dorfman <dima@unixfreak.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/29388: DNS resolver problem (gethostbyaddr) Message-ID: <200108021510.f72FARU45764@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/29388; it has been noted by GNATS. From: Dima Dorfman <dima@unixfreak.org> To: "Alexander S. Usov" <usov@ukr.net> 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" <usov@ukr.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108021510.f72FARU45764>