Subject: Re: standards/7757: Hostnames with '_' are invalid
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 06/11/1999 08:05:35
In article <>,
	Peter Seebach <> 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