ietf
[Top] [All Lists]

Re: Update of RFC 2606 based on the recent ICANN changes ?

2008-06-30 12:55:00
On Mon, 30 Jun 2008, Stephane Bortzmeyer wrote:
On Mon, Jun 30, 2008 at 05:49:18AM -0700,
David Conrad <drc(_at_)virtualized(_dot_)org> wrote
a message of 11 lines which said:

Speaking technically, how would you distinguish the top-level domain
"127.0.0.1" from the IP address 127.0.0.1?

A word while passing here: is there a document (RFC, Posix standard,
whatever) which says which is the right result in such a case?

POSIX (IEEE Std 1003.1, 2004 Edition, aka the Single UNIX Specification, Version 3) specifies both inet_pton() and inet_addr(). The latter is required to accept the 'traditional' forms for IPv4 addresses with fewer than four components or using hex or octal numbers. Contrawise, the former is forbidden from accepting such forms.

So the answer from that direction is "it depends".


Philip Guenther
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>