[80944] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Underscores in host names

daemon@ATHENA.MIT.EDU (Edward Lewis)
Thu May 19 11:30:10 2005

In-Reply-To: <20050519080154.I2239@roble.com>
Date: Thu, 19 May 2005 11:27:25 -0400
To: nanog@trapdoor.merit.edu
From: Edward Lewis <Ed.Lewis@neustar.biz>
Cc: ed.lewis@neustar.biz
Errors-To: owner-nanog@merit.edu


At 8:04 -0700 5/19/05, Roger Marquis wrote:
>Laurent Frigault wrote:
>>  gethostbyaddr (and may be other functions) will return NULL under at
>>  least FreeBSD/NetBSD for ANY PTR having the "_" character.
>
>As it should.  I wish it would also return a null for hostnames
>containing sequential non-alphanumerics (--, ---, __, ___, ...).

If null were returned for all "host names" containing "--" then IDN 
names wouldn't "work."  (See RFC 3490, section 5.)
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edward Lewis                                                +1-571-434-5468
NeuStar

If you knew what I was thinking, you'd understand what I was saying.

home help back first fref pref prev next nref lref last post