Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!prls!mips!dce From: dce@mips.UUCP (David Elliott) Newsgroups: comp.unix.wizards Subject: 4.3BSD hostname case insensitivity Message-ID: <762@mips.UUCP> Date: Tue, 11-Nov-86 15:34:45 EST Article-I.D.: mips.762 Posted: Tue Nov 11 15:34:45 1986 Date-Received: Wed, 12-Nov-86 06:40:19 EST Reply-To: dce@mips.UUCP (David Elliott) Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 24 In 4.3BSD, the code to get the host table entries using the hostname (gethostbyname()) first takes the characters in the hostname and turns them all into lower case. (This applies to the database version of gethostbyname() and to the code used when the nameserver is not running. I didn't check the nameserver code.) We have had customer complaints saying that they need to be able to have case-sensitivity in hostnames. Is there any reason that one of the following could not be done? 1. Allow case-sensitivity in hostnames by removing the upper/lower case conversion. 2. Change the routines to understand either case. That is, have hostname "MyHoSt" be the same as "myhost". Is there a definitive document describing exactly what a hostname can be and what it means (please, no replies referring to include files; I know what they say about length and so forth)? David Elliott MIPS Computer Systems, Inc. decwrl!mips!dce