[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Were A record domain names ever limited to 23 characters?
- Subject: Were A record domain names ever limited to 23 characters?
- From: joe at nethead.com (Joe Hamelin)
- Date: Fri, 7 Oct 2011 20:49:25 -0700
- In-reply-to: <[email protected]>
- References: <CAK4no07pVY2G=Kok-_2vwHcXQqtdXt5rmBbZWchLWo1k6jnE0A@mail.gmail.com> <[email protected]> <CAO0-hXaA-x2ShVUSauot51RB=k92SoLz3APERF3BaaBONhvy_A@mail.gmail.com> <[email protected]>
On Fri, Oct 7, 2011 at 8:25 PM, Owen DeLong <owen at delong.com> wrote:
>Yes, this was because some very old (current at the time, however)
>implementations of gethostbyname(3) were implemented in such a way that if
>the first character they saw returned isdigit()==TRUE, then,
>they would assume that they had been passed an IP address
>and would attempt to encode the string as an IP address rather
>than looking it up in /etc/hosts or DNS.
Now I'm going to have to look at the current gethostbyname(3) and see what
happens if we ever get a tld that is a decimal number under 255. Yet
another reason for IPv6.
--
Joe Hamelin, W7COM, Tulalip, WA, 360-474-7474