Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

FQDN: fully qualified domain name

An FQDN, or fully qualified domain name, is a domain name that includes every label from the host down to the DNS root, for example www.example.com. Strictly it ends with a dot for the root label, though the dot is usually left off when you type it.

The short answer
  • It is unambiguous: a resolver never appends a search domain to it.
  • Limits: 63 bytes per label and 255 bytes for the whole name on the wire.
  • In zone files a name with no trailing dot is relative to the zone origin, a common source of errors.
Try the dns lookupFree, live, no signup

How is an FQDN built?

Reading www.example.com. right to left
.            root (the empty label, written as the trailing dot)
com.         top-level domain
example.com. second-level domain (the registered name)
www.example.com.  host label, a subdomain: this is the FQDN

FQDN, partial name or URL?

Terms that get confused
FormExampleIs it an FQDN?
Full name with trailing dotmail.example.com.Yes
Full name without the dotmail.example.comYes, by common usage
Relative or short namemailNo, depends on the search domain
URLhttps://mail.example.com/inboxNo, it contains a scheme and a path

RFC 8499 notes the term is ambiguous: strictly the trailing dot is part of it, but names are usually written without it. See RFC 8499.

Common questions

Is www.example.com an FQDN?

Yes. It names every label from the host www to the TLD, so it identifies one place in the DNS tree. The root label is implied, which is why the trailing dot is often dropped.

Why do zone files use a trailing dot?

In a zone file, a name without a trailing dot is treated as relative and the zone origin is appended. Writing mail.example.com without the dot in the example.com zone would become mail.example.com.example.com.

What is the maximum length of an FQDN?

Each label can be at most 63 octets and the full name at most 255 octets in wire format, as set by RFC 1035. The usual written limit is therefore about 253 characters.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.