Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 19:32:22 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        David J Duchscher <daved@nostrum.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Resolver Issues (non valid hostname characters)
Message-ID:  <3E811F46.17DAB125@mindspring.com>
References:  <6888D394-5F3A-11D7-90A2-0003930B3DA4@nostrum.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David J Duchscher wrote:
> > If this is committed before RFC-952 is updated, FreeBSD users
> > can now define host names that break other machines on the net
> > which are strictly conformant to RFC-952.
> 
> Which will just make us behave like rest of the world.  I have tested
> resolvers on Solaris, Windows, MacOS X, MacOS 9, IRIX, Linux, AIX.
> They all will resolve a name with an underscore character.  Only the
> *BSD boxes fail because of the check.

Actually, anyone who took the original ISC code, or the FreeBSD code,
will end up having problems.  Including AIX, Solaris, MacOS X.


> > What is the first maxim of protocol design?
> >
> > "Be generous in what you accept, strict in what you generate".
> 
> Which is why I would argue that the patch should be committed, maybe
> with an option to enable it.  We are talking about the resolver, not a
> DNS or hostname server.  The resolver should resolve the name, be
> generous.  It just depends at what level you apply the maxim.  The
> check should be in the DNS server not in the resolver IMHO.

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.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E811F46.17DAB125>