maximum length of a subdomain

doubleV

New member
Joined
Mar 23, 2015
Messages
4
hello just a simple question

i want to know what the maximum lenght (characters) is when i create a subdomain?


thanks a lot for your replies!
 
Hello,

Did not test it myself in Directadmin, but 63 characters is the maximum length of each dot-separated part of domain (with maximum of 255) per ​RFC1034:

Code:
[COLOR=#000000]3.1. Name space specifications and terminology[/COLOR]
The domain name space is a tree structure.  Each node and leaf on the
tree corresponds to a resource set (which may be empty).  The domain
system makes no distinctions between the uses of the interior nodes and
leaves, and this memo uses the term "node" to refer to both.

Each node has a label, which is zero to 63 octets in length.  Brother
nodes may not have the same label, although the same label can be used
for nodes which are not brothers.  One label is reserved, and that is
the null (i.e., zero length) label used for the root.

Code:
To simplify implementations, the total number of octets that represent a
domain name (i.e., the sum of all label octets and label lengths) is
limited to 255.

https://www.ietf.org/rfc/rfc1034.txt


So I guess Directadmin should respect it, so just test it.
 
Back
Top