From owner-freebsd-bugs Sun Feb 2 12:20:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA09356 for bugs-outgoing; Sun, 2 Feb 1997 12:20:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA09326; Sun, 2 Feb 1997 12:20:02 -0800 (PST) Date: Sun, 2 Feb 1997 12:20:02 -0800 (PST) Message-Id: <199702022020.MAA09326@freefall.freebsd.org> To: freebsd-bugs Cc: From: roberto@keltia.freenix.fr (Ollivier Robert) Subject: Re: bin/2638: gethostbyname does not work with hosts with underscores. Reply-To: roberto@keltia.freenix.fr (Ollivier Robert) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/2638; it has been noted by GNATS. From: roberto@keltia.freenix.fr (Ollivier Robert) To: faulkner@utgard.hos.net Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/2638: gethostbyname does not work with hosts with underscores. Date: Sun, 2 Feb 1997 21:07:45 +0100 According to Boyd Faulkner: > gethostbyname does not work with hostnames that contain an underscore. > ping puma_cb19.austx.tandem.com should produce host resolution but not ping. > . 2.1.6.1 works and returns an address. That's expected. "_" is forbidden in hostnames and bind now enforces it. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #37: Mon Jan 27 23:21:10 CET 1997