What is fqdn format

Last updated: April 1, 2026

Quick Answer: FQDN format follows a hierarchical structure: hostname.subdomain.domain.tld, where each part is separated by dots, building from the most specific (left) to the least specific (right). For example, mail.company.example.com represents the complete path in the DNS hierarchy.

Key Facts

Understanding FQDN Format

The FQDN format is standardized across all internet systems, ensuring consistency and compatibility. This structured approach enables computers worldwide to understand and resolve domain names consistently. The format moves from the most specific identifier (on the left) to the most general (on the right), mirroring how DNS queries propagate through the hierarchy of nameservers.

FQDN Format Breakdown

A typical FQDN consists of four main components: the hostname, subdomain levels, the domain name, and the top-level domain. The hostname is the specific resource being addressed, like a mail server or web server. Subdomain levels add organizational structure and can be multiple levels deep. The domain name is the registered second-level domain, and the TLD is the top-level extension that identifies the domain type or country.

FQDN Format Rules

Examples of FQDN Format

Simple FQDN: example.com - Contains only a domain and TLD.
Subdomain FQDN: www.example.com - Adds one subdomain level.
Multi-level FQDN: mail.internal.company.example.com - Contains multiple subdomain levels for organizational purposes.
International FQDN: example.中国 - Can include internationalized domain names with non-ASCII characters.

FQDN Format in Different Contexts

Network administrators use FQDN format when configuring DNS records, setting up servers, and managing infrastructure. System administrators use FQDNs in configuration files and scripts. Email systems rely on FQDN format to identify mail servers accurately. Web developers use FQDNs to establish secure connections and create firewall rules. The consistent format ensures that all these different systems can interpret domain names uniformly.

Advanced FQDN Format Considerations

Internationalized domain names (IDNs) extend FQDN format to support non-English characters by using Punycode encoding, converting them to ASCII-compatible format. Wildcard FQDNs use asterisks (*) to match multiple subdomains in DNS records. Trailing dots in FQDNs (example.com.) indicate the root of the DNS hierarchy and are technically correct but optional in most applications.

Related Questions

What are the rules for naming FQDNs?

FQDNs must use only letters, numbers, and hyphens in each label. Labels cannot start or end with hyphens, are limited to 63 characters each, and the entire FQDN cannot exceed 253 characters. FQDNs are case-insensitive.

Why does FQDN format start with the hostname instead of the TLD?

The left-to-right format reflects how applications need to identify resources, starting with the specific host and working toward the general category. DNS queries then resolve hierarchically from right to left, starting with the TLD nameserver.

Can an FQDN contain numbers or special characters?

FQDNs can contain numbers (0-9) and hyphens, but not underscores or other special characters. Internationalized domain names allow non-ASCII characters, which are converted to ASCII-compatible Punycode format for DNS purposes.

Sources

  1. RFC 1035 - Domain Names Implementation and Specification CC-BY-4.0
  2. Wikipedia - Fully Qualified Domain Name CC-BY-SA-4.0