Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 1997 13:18:22 -0600 (CST)
From:      Boyd Faulkner <faulkner@utgard.hos.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2638: gethostbyname does not work with hosts with underscores.
Message-ID:  <199702021918.NAA25569@utgard.hos.net>
Resent-Message-ID: <199702021920.LAA02962@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         2638
>Category:       bin
>Synopsis:       gethostbyname does not work with hosts with underscores.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  2 11:20:02 PST 1997
>Last-Modified:
>Originator:     Boyd Faulkner
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

>Description:

gethostbyname does not work with hostnames that contain an underscore.
ping puma_cb19.austx.tandem.com should produce host resolution but not ping.
<Host is behind firewall>.  2.1.6.1 works and returns an address.

>How-To-Repeat:

ping puma_cb19.austx.tandem.com

This works on freefall.  It does not work on my 3.0 box.  It returns
[faulkner@utgard.hos.net]  /omni/home/faulkner 
> ping puma_cb19.austx.tandem.com
ping: unknown host puma_cb19.austx.tandem.com

 while 

[faulkner@utgard.hos.net]  /omni/home/faulkner 
> ping cat.austx.tandem.com
PING cat.austx.tandem.com (131.124.4.198): 56 data bytes

yields an address.


>Fix:
	
Don't know yet.  Need to compare sourcefrom 2.1.6 and current.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702021918.NAA25569>