NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/50367: libc resolver library does not resolve host names with underscores ("_")



On Oct 25, 11:45am, schaecsn%gmx.net@localhost (schaecsn) wrote:
-- Subject: Re: lib/50367: libc resolver library does not resolve host names 

| I start to understand that you are right. But by enforcing the RFC, NetBSD is excluding parts of the Internet while other OSes don't (I tested Linux, FreeBSD, MacOS and MS Windows 2000 + XP).
| 
| Also, should enforcing sound hostnames be the resonsible of the resolver library ... even if contacted DNS servers would be willing to map them to IP addresses? Perhaps, it should be up to the DNS servers to enforce sound hostnames?

I understand. It is a difficult question to answer. And if you fix the
resolver, do you go and fix the cacheing nameserver
(src/external/bsd/bind/dist/lib/dns/name.c)?
Do you accept it without warn, warn and accept, or reject?

My inclination is to have a new "strict" resolver option, default to off
and allow '_' in hostnames... If CDNs are putting _'s in hostnames there
is not much we can do; either we pretend to be the internet fighters for 
chastity, or accept that the world is changing adjust course and move on.

christos


Home | Main Index | Thread Index | Old Index