From owner-freebsd-bugs Sun Feb 2 11:20:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02974 for bugs-outgoing; Sun, 2 Feb 1997 11:20:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02962; Sun, 2 Feb 1997 11:20:03 -0800 (PST) Resent-Date: Sun, 2 Feb 1997 11:20:03 -0800 (PST) Resent-Message-Id: <199702021920.LAA02962@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, faulkner@utgard.hos.net Received: from utgard.hos.net (utgard.hos.net [205.238.129.45]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA02698 for ; Sun, 2 Feb 1997 11:18:27 -0800 (PST) Received: (from root@localhost) by utgard.hos.net (8.8.4/8.7.3) id NAA25569; Sun, 2 Feb 1997 13:18:22 -0600 (CST) Message-Id: <199702021918.NAA25569@utgard.hos.net> Date: Sun, 2 Feb 1997 13:18:22 -0600 (CST) From: Boyd Faulkner Reply-To: faulkner@utgard.hos.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2638: gethostbyname does not work with hosts with underscores. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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. . 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: