Fully qualified domain name explained

A fully qualified domain name (FQDN), sometimes also referred to as an absolute domain name,[1] is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS). It specifies all domain levels, including the top-level domain and the root zone.[2] A fully qualified domain name is distinguished by its lack of ambiguity in terms of DNS zone location in the hierarchy of DNS labels: it can be interpreted only in one way.

Definition

A fully qualified domain name is conventionally written as a list of domain labels separated using the full stop “” character (dot or period). The top of the hierarchy in an FQDN begins with the rightmost label. For instance, in the FQDN, is a label directly under the root zone, is nested under, and finally is nested under .

The topmost layer of every domain name is the DNS root zone, which is expressed as an empty label and can be represented in an FQDN with a trailing dot, such as . A trailing dot is generally implied and often omitted by most applications. Trailing dots are required by the standard format for DNS zone files, as well as to disambiguate cases where an FQDN does not contain any other label separators, such as the FQDNs for the root zone itself and any top-level domain.[3]

The length of each label must be between 1 and 63 octets, and the full domain name is limited to 255 octets, full stops included.

Relative domain names

A relative domain name is a domain name which does not include all labels.[4] It may also be referred to as a partially-qualified domain name, or PQDN.[5] Hostnames can be used as relative domain names.

Usage

Dot-separated fully qualified domain names are the primarily used form for human-readable representations of a domain name. Dot-separated domain names are not used in the internal representation of labels in a DNS message[6] but are used to reference domains in some TXT records and can appear in resolver configurations, system hosts files, and URLs.

Web addresses typically use FQDNs to represent the host, as it ensures the address will be interpreted identically on any network. Relative hostnames are allowed by some protocols, including HTTP, but disallowed by others, such as the Simple Mail Transfer Protocol (SMTP).[7]

External links

Notes and References

  1. 1035. Domain names – Implementation and Specification. 10.17487/RFC1035. Paul. Mockapetris.
  2. Answers to Commonly asked "New Internet User" Questions . 1594 . Questions About the Domain Name System . 5 . April N. Marine . Joyce K. Reynolds . Gary Scott Malkin . March 1994 . . 29 April 2013 . If you think of the DNS as a tree-structure with each node having its own label, a fully qualified domain name for a specific node would be its label followed by the labels of all the other nodes between it and the root of the tree..
  3. Web site: Fisher. Tim. FQDN. About.com. 20 March 2013. 3 April 2013. https://web.archive.org/web/20130403142819/http://pcsupport.about.com/od/termsf/g/fqdn-fully-qualified-domain-name.htm. dead.
  4. Web site: A Security Problem and Proposed Correction With Widely Deployed DNS Software. October 1993 . 2020-10-01. 2020-10-17. https://web.archive.org/web/20201017033617/https://tools.ietf.org/html/rfc1535. live . Gavron . Ehud .
  5. Web site: Fully Qualified Domain Name (FQDN) and Partially Qualified Domain Name (PQDN). 2015-03-23. 2015-03-16. https://web.archive.org/web/20150316151130/http://www.omnisecu.com/tcpip/fully-qualified-domain-name-fqdn-and-partially-qualified-domain-name-pqdn.php. live.
  6. Web site: Wireshark Q&A . osqa-ask.wireshark.org . 13 April 2021 . 13 April 2021 . https://web.archive.org/web/20210413010527/https://osqa-ask.wireshark.org/questions/50806/help-understanding-dns-packet-data/ . live .
  7. Web site: Definition of domain names in Simple Mail Transfer Protocol . Tools.ietf.org . 1998-05-21 . 2014-01-08 . 2013-12-30 . https://web.archive.org/web/20131230053037/http://tools.ietf.org/html/rfc5321#section-2.3.5 . live . Klensin . John C. .