Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 06:44:07 -0800 (PST)
From:      kewarken@qnx.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/23327: address like 10.51 (meaning 10.0.0.51) does not work in hosts file
Message-ID:  <200012061444.eB6Ei7B49205@freefall.freebsd.org>
Resent-Message-ID: <200012061450.eB6Eo1i50009@freefall.freebsd.org>

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

>Number:         23327
>Category:       misc
>Synopsis:       address like 10.51 (meaning 10.0.0.51) does not work in hosts file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 06 06:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kris Warkentin
>Release:        4.1
>Organization:
QNX
>Environment:
FreeBSD node207.qnx.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Thu Jul 27 04:44:16
GMT 2000     root@usw4.freebsd.org:/usr/src/sys/compile/GENERIC  i386
>Description:
if you have an entry like 10.51 in your hosts file, lookups will not
work
>How-To-Repeat:
bash-2.04$ cat /etc/hosts | grep "node6[0-3] "
10.0.0.60               node60 techhome
10.61           node61 tech
10.0.0.62               node62 techsrc-old
10.0.0.63               node63 joe3
bash-2.04$ ping -c 1 node63
PING node63 (10.0.0.63): 56 data bytes
^C
--- node63 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
bash-2.04$ ping -c 1 node61
ping: cannot resolve node61: Unknown host
bash-2.04$ 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


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?200012061444.eB6Ei7B49205>