Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 13:00:17 -0600
From:      David J Duchscher <daved@nostrum.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Resolver Issues (non valid hostname characters)
Message-ID:  <2F60240B-5FBD-11D7-8B57-0003930B3DA4@nostrum.com>
In-Reply-To: <3E816354.E5FDA886@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wednesday, March 26, 2003, at 02:22  AM, Terry Lambert wrote:

> David J Duchscher wrote:
>> On Tuesday, March 25, 2003, at 09:32  PM, Terry Lambert wrote:
>>> Actually, anyone who took the original ISC code, or the FreeBSD code,
>>> will end up having problems.  Including AIX, Solaris, MacOS X.
>>
>> Unless they have modified the code which all the above OSes seem to
>> have done since they do not show the behavior.
>
> I would like to see a program, with source code, that can
> determine, with 100% accuracy, whether or not "_" is allowed,
> and prints out either:
>
> 	This system supports _, in violation of RFC-952.
>
> Or:
>
> 	This system complies with RFC-952.
>
> Then I would like to see the output of this program run on the
> systems, other than Linux, which you claim violate RFC-952.  You
> can include Linux, if you want, to, for comparison purposes.

Since I don't believe I can create such a program to your specification,
I guess you win.  All I can say is that gethostbyname will return host 
names
with underscore character on the those operating systems.

>>>>> What is the first maxim of protocol design?
>>>>>
>>>>> "Be generous in what you accept, strict in what you generate".
>>>
>>> You apply the maxim to each interface, seperately.  For example,
>>> FreeBSD should not allow the configuration of host names with
>>> "_" in them, but it should, perhaps, permit them to be looked up.
>>
>> I can agree with this statement.  Unfortunately, FreeBSD doesn't do 
>> this
>> in many ways.  Example, you can set a hostname with a underscore in 
>> it.
>> You can even use an underscore in the name in the host file and
>> everything will work.  You just can't look up the name via DNS.
>
> Sounds like you picked the wrong interfaces to want to have fixed.

Yep.

DaveD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F60240B-5FBD-11D7-8B57-0003930B3DA4>