Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 07:20:31 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        cjclark@alum.mit.edu
Cc:        Odhiambo Washington <wash@wananchi.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: [OT] Domain names that are just numbers -- what's this??
Message-ID:  <20010624072031.A43354@hades.hell.gr>
In-Reply-To: <20010623201951.C30874@blossom.cjclark.org>; from cristjc@earthlink.net on Sat, Jun 23, 2001 at 08:19:51PM -0700
References:  <3B31292E.8EC9C976@iowna.com> <20010620184659.M91984@happy.cow.org> <3B312E9C.23E1178D@iowna.com> <20010621090240.H25711@everest.wananchi.com> <20010624054246.B8150@hades.hell.gr> <20010623201951.C30874@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 23, 2001 at 08:19:51PM -0700, Crist J. Clark wrote:

> Resolving a decimal number as an IP address works fine for me on
> -STABLE,
> 
>   % ping 2130706433

Ahem.  This works correctly for me too.

    charon@hades:~% ping 2130706433
    PING 2130706433 (127.0.0.1): 56 data bytes
    64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.271 ms
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.284 ms
    ^C
    --- 2130706433 ping statistics ---
    2 packets transmitted, 2 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.271/0.277/0.284/0.007 ms

It might be that our gethostbyname2() performs more strict checks on
the input values.  I'll check it out when I manage to get some sleep.

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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