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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 24, 2001 at 05:42:46AM +0300, Giorgos Keramidas wrote:
> On Thu, Jun 21, 2001 at 09:02:40AM +0300, Odhiambo Washington wrote:
> 
> > In 4.3-STABLE I also get;
> > 
> > 
> > wash:~$ ping -c 1 808517866170
> > ping: cannot resolve 808517866170: Unknown host
> > 
> > wash:~$ traceroute 808517866170
> > traceroute: unknown host 808517866170
> > 
> > Seems like we're the only victims ;-)

That is not a valid IPv4 address,

  % printf "0x%x\n" 808517866170
  0xbc3f6b92ba

It's a 5-byte value. Windows and other systems are truncating it,

  % printf "%d.%d.%d.%d\n" 0x3f 0x6b 0x92 0xba
  63.107.146.186

That seems broken to me. Might be time to go to the RFC on URIs.

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

  % 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.092 ms
  64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.087 ms
  64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.091 ms
  ^C
  --- 2130706433 ping statistics ---
  3 packets transmitted, 3 packets received, 0% packet loss
  round-trip min/avg/max/stddev = 0.087/0.090/0.092/0.002 ms

-- 
Crist J. Clark                           cjclark@alum.mit.edu

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?20010623201951.C30874>