Question : Unix: Why is Hosts file NOT case-sensitive?

Hi all!

I have a question that's bugging me!

Does anyone know why the /etc/hosts file on a Unix system is NOT case-sensitive?

As we all know, Unix systems are case-sensitive, so I wonder how this slipped through the net!

The reason I ask, is because it's actually causing me some hassle as the hosts file on one of my Network Management Systems is used in an import script for use by another system - The applications ARE case-sensitive this mis-match, means I have a bug to fix!

Any explanation of this would be interesting, because it just seems wierd to me!

Many thanks for any insight on this

Thanks

Marcus

Answer : Unix: Why is Hosts file NOT case-sensitive?

If you are refering to host names in the hosts file, they are not sensitive to case.

RFC1035 sec 2.3.1 <http://www.ietf.org/rfc/rfc1035.txt>

"Note that while upper and lower case letters are allowed in domain
names, no significance is attached to the case. That is, two names with
the same spelling but different case are to be treated as if identical."
Random Solutions  
 
programming4us programming4us