FQDN

Protocols & Standards
Fully Qualified Domain Name.
← Back to Glossary

What is an FQDN (Fully Qualified Domain Name)?

A Fully Qualified Domain Name (FQDN) is the complete domain name that specifies the exact location of a host within the DNS hierarchy. It includes all labels from the specific hostname through every level up to the root domain, leaving no ambiguity about the location being referenced.

FQDN Structure

Components

hostname.subdomain.domain.tld.

↓ ↓ ↓ ↓

www blog example com (root)

Reading the Hierarchy

Right to left (most to least significant):

Example FQDNs

FQDNComponents
www.example.com.host.domain.tld
mail.subdomain.example.com.host.sub.domain.tld
server1.dc1.internal.company.com.host.sub.sub.domain.tld

FQDN vs Partial Domain Names

FQDN (Absolute)

Relative Domain Name

The Trailing Dot

What It Means

The trailing dot represents the DNS root:

www.example.com.

Root zone (empty label)

When It's Used

When It's Omitted

FQDNs in DNS Records

Zone File Example

; Zone file for example.com

www.example.com. A 93.184.216.34

mail.example.com. A 93.184.216.35

example.com. MX 10 mail.example.com.

Common Mistake

Without trailing dot, name is appended:

mail.example.com    MX    10 mail

; Resolves to: mail.example.com.example.com.

FQDN Requirements

Valid FQDN Criteria

Character Rules

Valid: www.example-site.com.

Invalid: www.-example.com.

Invalid: www.example-.com.

FQDNs in Different Contexts

Web Servers

ServerName www.example.com

SSL Certificates

Email Configuration

MX records must use FQDNs:

@ MX 10 mail.example.com.

Resolving FQDNs

DNS Resolution Process

1. Query for www.example.com.

2. Root servers direct to .com servers

3. .com servers direct to example.com NS

4. Authoritative server returns A record

5. IP address returned to client

Understanding FQDNs is essential for proper DNS configuration, avoiding common errors in zone files and server configurations.

Put This Knowledge to Work

Use DomScan's API to check domain availability, health, and more.