Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2003 11:23:17 -0500
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        des@ofug.org
Subject:   Re: Allow underscores in DNS names 
Message-ID:  <200303301623.h2UGNHDN042824@whizzo.transsys.com>
In-Reply-To: Your message of "Sun, 30 Mar 2003 06:05:34 MST." <20030330.060534.18864762.imp@bsdimp.com> 
References:  <xzpu1dm2k2h.fsf@flood.ping.uio.no> <20030329.164403.54601077.imp@bsdimp.com> <xzp4r5ljitl.fsf@flood.ping.uio.no> <20030330.060534.18864762.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In message: <xzp4r5ljitl.fsf@flood.ping.uio.no>
>             des@ofug.org (Dag-Erling Sm=F8rgrav) writes:
> : "M. Warner Losh" <imp@bsdimp.com> writes:
> : > When this has come up in the past, it was decreed that _ is a bad b=
ad
> : > bad bad idea, even though people want it.  You might want to check =
the
> : > ancient archives (1998?) for all the reasons why.
> : =

> : Arguments presented in ancient archives are not necessarily relevant
> : five years later.
> =

> True.  However, they are still relevant today.  '_' is illegal in DNS
> names, is rejected by the majority of hosts on the internet and
> generally is a bad idea.  If you do it, make it optional.

Strictly speaking, the '_' is illegal in HOSTNAMES.  The DNS can contains=

objects other than those used as hostnames, and the protocols support
arbitrary strings of octets which can be used as labels in DNS names.

It's the application of looking up host names using the DNS which is
in question.  And if underscore characters are so toxic in hostnames,
then why are they allowed in /etc/hosts or NIS-dervied lookups?

louie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303301623.h2UGNHDN042824>