Domain Name Valid Characters Rfc
Rfc 5890 idna definitions august 2010 domain name strings appear in native character form.
Domain name valid characters rfc. Internationalized domain names which are encoded to comply with the requirements for a hostname allow for presentation of non ascii domains. That one restriction relates to the length of the label and the full name. Rfc 1101 dns encoding of network names and other types april 1989 network names.
The hostname is subject to the restrictions of rfc 952 and the slight relaxation of rfc 1123. Domain name is the identifier of a resource in a dns database. A subset of those strings use native character labels that require idna2003 mapping to produce valid a labels.
Although it would be possible to provide a flat space or a name space in which for example the last label of a domain name captured the old style network name any such approach would add complexity to the method and create different rules for network names and host names. Rfc 1034 domain concepts and facilities november 1987 the domain system assumes that all data originates in master files scattered through the hosts that use the domain system. In mail systems compliant with rfc 6531 and rfc 6532 an email address may be encoded as utf 8 both a local part as well as a domain name.
The dns itself places only one restriction on the particular labels that can be used to identify resource records. I have detailed out below all the valid and invalid characters that a domain name can contain. Rfc 1035 domain implementation and specification november 1987 index 13.
I have seen rfc 1034 1123 2181. It seems rfc 2181 removes the restrictions of rfc 1034 1123 which says that only letters digits and hyphen are allowed. Hi all i have a question regarding the valid character set in dns.
The length of any one label is limited to between 1 and 63 octets. One should be clear about definitions. If you are interested in reading all the finer details of a particular character then skip to the last to see the table of all the characters that you can or cannot include in your domain name.