Достаточно часто начинающие администраторы не придают значение вопросу "как назвать сервер". Потом начинаются ахи-охи и поиски багов. Ниже приведу статью с вражеского сайта, поскольку чаще всего на недоОС такие проблемы и возникают, но поделюсь и своим опытом:
- планируйте имя сервера ДО того, как начнете на него что-то устанавливать
- планируйте, что после установки ОС имя сервера больше не будет меняться никогда за все время ее службы
- не используйте для имени ничего, кроме цифр и нижнего регистра латинских букв (никаких, подчеркну, никаких подчеркиваний и крайне желательно - без дефисов)
- создайте общее правило именования серверов, подходящее для 10 и для 100 серверов
- выбирайте понятное не только вам имя, отражающее назначение сервера
- выбирайте максимально короткое имя (с учетом предыдущего пункта)
- не расчитывайте на то, что этот сервер будет всегда один или будет стоять именно в этой серверной
Прошу дополнить и высказывать замечания...
Цитата:
DNS host names
Allowed characters DNS names can contain only alphabetical characters (A-Z), numeric characters (0-9), the minus sign (-), and the period (.). Period characters are allowed only when they are used to delimit the components of domain style names.
In the Windows 2000 domain name system (DNS) and in the Microsoft Windows Server 2003 DNS, the use of Unicode characters is supported. Other implementations of DNS do not support Unicode characters. Avoid Unicode characters if queries will be passed to the servers that use non-Microsoft implementations of DNS.
For more information, visit the following non-Microsoft Web sites:
Disallowed characters
DNS host names cannot contain the following characters:
comma (,)
tilde (~)
colon (:)
exclamation point (!)
at sign (@)
number sign (#)
dollar sign ($)
percent (%)
caret (^)
ampersand (&)
apostrophe (')
period (.)
parentheses (())
braces ({})
underscore (_)
white space (blank)
The underscore has a special role, as it is permitted for the first character in SRV records by RFC definition, but newer DNS servers may also allow it anywhere in a name. For more details, see: .
More rules are:
All characters preserve their case formatting except for American Standard Code for Information Interchange (ASCII) characters.
The first character must be alphabetical or numeric.
The last character must not be a minus sign or a period.
In Windows 2000 and in later versions of Windows, computers that are members of an Active Directory domain cannot have names that are composed completely of numbers. This restriction is because of DNS restrictions.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
244412 Windows 2000 does not permit all-numeric computer names
Note DNS Host Name Registration substitutes a hyphen (-) character for invalid characters. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
149044 DNS Host Name substitutes "-" for invalid characters
Minimum name length
2 characters.
Maximum name length
63 characters.
The maximum length of the host name and of the fully qualified domain name (FQDN) is 63 bytes per label and 255 bytes per FQDN.
Note Windows does not permit computer names that exceed 15 characters, and you cannot specify a DNS host name that differs from the NETBIOS host name. You might however create host headers for a web site hosted on a computer and that is then subject to this recommendation.
In Windows 2000 and in Windows Server 2003, the maximum host name and the FQDN use the standard length limitations that are mentioned earlier, with the addition of UTF-8 (Unicode) support. Because some UTF-8 characters exceed one octet in length, you cannot determine the size by counting the characters.
Domain controllers must have an FQDN of less than 155 bytes.
Reserved names per RFC 952
-GATEWAY
-GW
-TAC
For more information, visit the following non-Microsoft Web sites:
http://tools.ietf.org/html/rfc952
Reserved names in Windows
See "Table of reserved words."
Best practices
When you create names for the DNS computers in a new Windows Server 2003 DNS infrastructure, use the following guidelines:
Choose computer names that are easy for users to remember.
Identify the owner of the computer in the computer name.
Choose a name that describes the purpose of the computer.
For ASCII characters, do not use character case to indicate the owner or the purpose of a computer. For ASCII characters, DNS is not case-sensitive, and Windows and windows applications are not case-preserving in all places.
Match the Active Directory domain name to the primary DNS suffix of the computer name. For more details, see the the "disjoint domain names" section below.
Use a unique name for every computer in your organization. Avoid the same computer name for computers in different DNS domains.
Use ASCII characters. This guarantees interoperability with computers that are running versions of Windows that are earlier than Windows 2000.
In DNS computer names, use only the characters that are listed in RFC 1123. These characters include A–Z, a–z, 0–9, and the hyphen (-). In Windows Server 2003, DNS allows most UTF-8 characters in names. However, do not use extended ASCII or UTF-8 characters unless all the DNS servers in your environment support them.