Fully qualified domain name


A fully qualified domain name, sometimes also referred to as an absolute domain name, is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System. It specifies all domain levels, including the top-level domain and the root zone. A fully qualified domain name is distinguished by its lack of ambiguity: it can be interpreted only in one way. It usually consists of a host name and at least one higher-level domain separated by the symbol "." and always ends in the top-level domain.
The DNS root domain is unnamed which is expressed by having an empty label in the DNS hierarchy, resulting in a fully qualified domain name ending with the top-level domain. However, in some cases the full stop character is required at the end of the fully qualified domain name.
In contrast to a domain name that is fully specified, a domain name that does not include the full path of labels up to the DNS root is often called a partially qualified domain name.

Syntax

A fully qualified domain name consists of a list of domain labels representing the hierarchy from the lowest relevant level in the DNS to the top-level domain. The domain labels are concatenated using the full stop “” character as a separator between labels.
The DNS root is unnamed, expressed as the empty label terminated by the dot. This is most notable in DNS zone files in which a fully qualified domain name must be specified with a trailing dot. For example, explicitly specifies an absolute domain name that ends with the empty top level domain label.

Example

A device with the hostname ' in the parent domain ' has the fully qualified domain name ' The FQDN uniquely distinguishes the device from any other hosts called ' in other domains.

Resolution

Many DNS resolvers process a domain name that contains a dot in any position as being fully qualified or add the final dot needed for the root of the DNS tree. Resolvers process a domain name without any dots as unqualified and automatically append the system's default domain name and the final dot.
Some applications, such as web browsers, try to resolve the domain name part of a uniform resource locator if the resolver cannot find the specified domain or if it is clearly not fully qualified by appending frequently used top-level domains and testing the result. Some applications, however, never use trailing dots to indicate absoluteness, because the underlying protocols require the use of FQDNs, such as the Simple Mail Transfer Protocol.

Partially qualified domain name

A partially qualified domain name does not include all labels to the DNS root. Such a name is also known as a relative domain name. Relative domain names are often simply hostnames, i.e. the left-most label in a fully qualified name.