From owner-freebsd-questions Sat Jun 23 20:20: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 141E037B401 for ; Sat, 23 Jun 2001 20:20:01 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from blossom.cjclark.org (dialup-209.245.142.115.Dial1.SanJose1.Level3.net [209.245.142.115]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id UAA02459; Sat, 23 Jun 2001 20:19:19 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f5O3JuT35529; Sat, 23 Jun 2001 20:19:56 -0700 (PDT) (envelope-from cjc) Date: Sat, 23 Jun 2001 20:19:51 -0700 From: "Crist J. Clark" To: Giorgos Keramidas Cc: Odhiambo Washington , freebsd-questions@FreeBSD.ORG Subject: Re: [OT] Domain names that are just numbers -- what's this?? Message-ID: <20010623201951.C30874@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <3B31292E.8EC9C976@iowna.com> <20010620184659.M91984@happy.cow.org> <3B312E9C.23E1178D@iowna.com> <20010621090240.H25711@everest.wananchi.com> <20010624054246.B8150@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010624054246.B8150@hades.hell.gr>; from keramida@ceid.upatras.gr on Sun, Jun 24, 2001 at 05:42:46AM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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