[컴][네트워크] hostname restrictions

dns record 이름 / reg / 제한 / dns 이름 문법 / dns 이름 제한 / dns 이름에서 사용하지 말아야 할 문자 / cname restriction / cname rule / dns record rules


Hostname 과 관련해서 naming rule 에 대한 자료




출처 : RFC952 : http://tools.ietf.org/html/rfc952


ASSUMPTIONS

   1. 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 components 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 distinction 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.  A host which serves as a GATEWAY should have
   "-GATEWAY" or "-GW" as part of its name.  Hosts which do not serve as
   Internet gateways should not use "-GATEWAY" and "-GW" as part of
   their names. A host which is a TAC should have "-TAC" as the last
   part of its host name, if it is a DoD host.  Single character names
   or nicknames are not allowed.


출처 : RFC1123 : http://tools.ietf.org/html/rfc1123#page-13

 2.1  Host Names and Numbers

      The syntax of a legal Internet host name was specified in RFC-952
      [DNS:4].  One aspect of host name syntax is hereby changed: the
      restriction on the first character is relaxed to allow either a
      letter or a digit.  Host software MUST support this more liberal
      syntax.

      Host software MUST handle host names of up to 63 characters and
      SHOULD handle host names of up to 255 characters.

      Whenever a user inputs the identity of an Internet host, it SHOULD
      be possible to enter either (1) a host domain name or (2) an IP
      address in dotted-decimal ("#.#.#.#") form.  The host SHOULD check
      the string syntactically for a dotted-decimal number before
      looking it up in the Domain Name System.




DNS 관련 name syntax

  1. RFC 2181 - Clarifications to the DNS Specification > 11. Name syntax
  2. RFC 1123 - Requirements for Internet Hosts - Application and Support > 6.1.3.5  Extensibility

여기보면 DNS 의 이름의 제한은 거의 없다. 길이제한정도인듯 하다. 그러나 각자 환경에 필요한 restriction 을 추가해서 사용한다고 한다. 그래서 Internet 에서는 위에 제시한 "Hostname 과 관련해서 naming rule 에 대한 자료" 를 사용하면 되는 듯 하다.







댓글 없음:

댓글 쓰기