10 Apr
2003
10 Apr
'03
4:58 a.m.
Gisle Aas wrote Greg Ewing
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