Can't Use Periods in DNS Host Names

Last reviewed: April 10, 1997
Article ID: Q122900

The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5

SUMMARY

Both the Help file and the manual for the TCP/IP Domain Name Server (DNS) configuration are incorrect in describing the type of characters that can be used in the host name. The documentation says that both the hyphen and period can be used. However, attempting to use a period in the host name will result in an error message indicating the parameter is incorrect.

The TCP/IP manual says:

   In the DNS Configuration dialog box, you can, optionally, type a name in
   the Host Name box (usually your computer name):

   The name can be any combination of A-Z letters, 0-9 numerals, and the
   hyphen (-) plus the period (.) character used as a separator. By
   default, this value is the Windows NT computer name, but the network
   administrator can assign another host name without affecting the
   computer name.

The Help file says:

   Host Name

   Optionally, type a name in the Host Name box (usually your computer
   name). The name can be any combination of A-Z letters and 0-9 digits,
   plus the hyphen (-) and period (.) characters.

   Using a period in the host name would be interpreted as a separator, and
   result in an error message.

RFC 952 says:

   Periods are only allowed when they serve to delimit components of
   "domain style names".

MORE INFORMATION

Under Windows NT 3.5, the host name is set to the computer name (or NetBIOS name) by default. You can change the name used from the Network section of Control Panel. Select TCP/IP Protocol, choose Configure, and then choose DNS to see the host name. You can specify both the host and domain names.

NOTE: The domain name listed here should not be confused with the term "domain name" as it is used in a Windows NT domain. This is the domain name set by the TCP/IP DNS.

Reference(s):

More information on DNS can be found in the DNS RFC 1034.


Additional query words: prodnt
Keywords : kbenv NTSrvWkst nttcp
Version : 3.5
Platform : WinNT
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.