[thelist] anyone know how to convert http://3518332311/ into

Joe Crawford joe at artlung.com
Sun, 08 Aug 1999 21:52:12 -0700


An old post I had saved on this very subject.

=========================================================================

Well, before reading the below, here's another URL you could try instead:

<http://3427256387/>

This will (at least at the current time) predictably drop you off at Yahoo.


Now then, a ping to the URL numeric you provided reveals the address as:

207.240.229.193

Take these octets in their hex representation, then convert back to decimal:

CF.F0.E5.C1

(if your calculator can't handle that conversion, do it at CFF0 (53232) and
E5C1 (58817), in decimal mode, multiply 53232 by 65536, then add 58817.
You should be presented with a familiar number.

This conversion could have been done in the opposite form: take the domain
number, convert to hex, and translate each octet:

3488671169 = CFF0E5C1 (see the references to this number above)


This is, BTW, why all numeric domain names are _supposed_ to be against the
spec of DNS, although Network Solutions (InterNIC) happily accepts
registrations for all-numerics (because domains will have a TLD, rather
than be standalone).  This could still lead to mixed results with some
browsers: if you have a numeric domain which translates to a valid IP
address, the Netscape browser intelligent URL capability (where you might
type "microsoft" instead of "http://www.microsoft.com") will route to the
IP, not to a domain, because the IP lookup will succeed on the numeric only.

DNS doesn't resolve the numbering stuff (an nslookup attempt on it will
fail), instead, they are handled internally by the sockets layer, just as
dotted IPs are.

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

=========================================================================




 _________________________________________________________
 Joe Crawford { ArtLung } _________ mailto:joe@artlung.com
 Web Designer + Integrator ________ http://www.artlung.com
 Respiratory Therapist (Ret.) _____ San Diego  . CA .  USA
 San Diego WWW'er? See http://www.artlung.com/websandiego/