Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 14:18:15 +0300 (EEST)
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        arch@freebsd.org
Subject:   Re: Allow underscores in DNS names
Message-ID:  <20030331141452.F79544@gothmog>
In-Reply-To: <xzpel4phrcs.fsf@flood.ping.uio.no>
References:  <xzpu1dm2k2h.fsf@flood.ping.uio.no> <20030329.164403.54601077.imp@bsdimp.com> <20030330.060534.18864762.imp@bsdimp.com> <xzpel4phrcs.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-03-30 16:16, Dag-Erling Sm?rgrav wrote:
>"M. Warner Losh" <imp@bsdimp.com> writes:
>> True.  However, they are still relevant today.  '_' is illegal in DNS
>> names
>
> Says the RFC.  IIRC, BIND traditionally did not enforce this, though
> it does now for A records in master zones unless you change the
> "check-names" setting (it seems to allow it for TXT records though).
>
>>        is rejected by the majority of hosts on the internet
>
> Wrong.  We (*BSD) are pretty much the only ones not to accept
> underscores in host names.  I've tested Windows XP, Solaris 8 and
> Linux 2.4.18; feel free to try 'ping under_score.ofug.org' on other
> systems and report your findings here.

If everyone else supports underscores (I've only tested Solaris and
Linux 2.4.20), then perhaps, just for the sake of interoperability
with other systems, we should too.

Even in Linux (where it's accepted as a valid hostname by the
resolver) it's annoying when one sees the warning it causes:

: igloo# host under_score.ofug.org
: under_score.ofug.org    A       127.0.0.1
:  !!! under_score.ofug.org A record has illegal name

Giorgos.



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