[Python-Dev] _socket efficiencies ideas (original) (raw)
Anthony Baxter Anthony Baxter anthony@interlink.com.au
Thu, 10 Apr 2003 14:58:20 +1000
- Previous message: [Python-Dev] _socket efficiencies ideas
- Next message: [Python-Dev] _socket efficiencies ideas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 64.186.10.158.
Isn't the DNS fun.
Anthony
--
Anthony Baxter <anthony@interlink.com.au>
It's never too late to have a happy childhood.
- Previous message: [Python-Dev] _socket efficiencies ideas
- Next message: [Python-Dev] _socket efficiencies ideas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]