Subject: Re: standards/7757: Hostnames with '_' are invalid
To: None <netbsd-bugs@netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 06/11/1999 08:05:35
In article <199906110345.WAA02705@puddle.plethora.net>,
Peter Seebach <seebs@puddle.plethora.net> writes:
>>Category: standards
>>Synopsis: We are not rejecting lookups for hosts with '_' in their names
> The resolver should reject such hostnames, rather than looking them up.
I disagree. This is definitely not user friendly and will lead to complaints
about our broken resolver. It is the name server's job not to accept zones
with such mistakes and our BIND does exactly that.
The only thing we could do is to modify gethtent() to print an error
message on a hostname with an underscorde in "/etc/hosts".
--
Matthias Scheler http://home.owl.de/~tron/