SUMMARY: Valid Hostname

From: Deepak Sinha (
Date: Fri Aug 28 1998 - 11:16:16 CDT

Many Thanks to all the people who replied. Best answer was a snippet from
RFC 952:

     A "name" (Net, Host, Gateway, or Domain name) is a text
     string up to 24 characters drawn from the alphabet (A-Z),
     digits (0-9), minus sign (-), and period (.). Note that
     periods are only allowed when they serve to delimit com-
     ponents of "domain style names". (See RFC 921, "Domain Name
     System Implementation Schedule," for background). No blank
     or space characters are permitted as part of a name. No dis-
     tinction is made between upper and lower case. The first
     character must be an alpha character. The last character
     must not be a minus sign or period.
     Although the interface accepts host names longer than 24
     characters for the host portion (exclusive of the domain
     component), choosing names for hosts that adhere to the 24
     character restriction will insure maximum interoperability
     on the Internet.

Here is my original post:

> Hi Sun Managers,
> I have question about valid hostname. Is a hostname comprised entirely
> digiits and dash a valid hostname i.e. is 1234-5 a valid hostname?
> Thanks,
> Deepak Sinha

Deepak K. Sinha Voice: (847)467-2457 (W)
Technical Services Specialist Fax# : (847)467-3280 (W)
1890 Maple Avenue. Room 202 Home#: (847)733-9879 (H)
ILS,Northwestern University,Evanston,IL 60201 Email:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:47 CDT