[Python-Dev] _socket efficiencies ideas

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Thu, 10 Apr 2003 14:58:20 +1000

>>> Gisle Aas wrote
> Greg Ewing <greg@cosc.canterbury.ac.nz> writes:
> > By the same token, checking whether the first char is
> > a digit ought to weed out about 99.999% of all
> > non-numeric domain name addresses.
> 3m.com is a registered domain name.

As is 3com.com, and, for a more python-related example, 4suite.org.
The latter also has an A record. 

411.com and 911.com are both valid domains, as is 123.com. 
With the appropriate resolv.conf search path (ie including '.com'),
you could enter '123' and expect to get back the address

Isn't the DNS fun.


Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.