All guides
Home Glossary Domain name
Term

Domain name

A unique alphanumeric identifier used to locate and address network resources within the Domain Name System (DNS).

A domain name is a unique alphanumeric identifier used to locate and address network resources within the Domain Name System (DNS). It functions as a human-readable alias for complex numeric IPv4 or IPv6 addresses, allowing users and applications to connect to servers without memorizing raw binary or hexadecimal sequences. Global domain namespace coordination is overseen by ICANN (Internet Corporation for Assigned Names and Numbers) and administered through accredited registrars.

How it works

Domain resolution translates a human-readable string like app.example.com into a routable IP address through a distributed hierarchy. When a client initiates a request, a recursive DNS resolver checks its local cache and, if necessary, traverses the DNS tree from right to left. This abstraction decouples service identity from physical infrastructure, allowing administrators to migrate servers or update IP addresses without changing the public address.

  • Root Zone: The top of the DNS hierarchy, represented by a trailing dot (.) and served by globally distributed root nameservers.
  • Top-Level Domain (TLD): The rightmost segment following the final dot, such as generic extensions (.com, .net, .org) or country codes (.uk, .de).
  • Second-Level Domain (SLD): The specific name registered by an organization directly beneath a TLD, such as example in example.com.
  • Fully Qualified Domain Name (FQDN): The complete, unambiguous path to a specific host, including all subdomains and the trailing root dot (for example, api.prod.example.com.).

Technical specifications in RFC 1035 limit a domain name to 253 ASCII characters in total and 63 characters per label, supporting up to 127 nested levels. To prevent cache poisoning and spoofing, operators enable DNSSEC (Domain Name System Security Extensions), which cryptographically signs DNS records to verify data authenticity and integrity.

Example

In a production DevOps workflow, you can trace the resolution path and verify authoritative records using the dig utility. Running a trace query reveals each delegation step from the root servers down to the target record:

dig +trace +short example.com A

Once resolved, the authoritative zone file maps the domain and its subdomains to specific infrastructure endpoints using standard resource records:

$ORIGIN example.com.
@       300 IN A     198.51.100.42
www     300 IN CNAME @
api     60  IN AAAA  2001:db8::10

What matters when choosing a server or hosting

While a domain registrar manages ownership, DNS hosting and server infrastructure determine resolution speed and reliability. Look for providers offering an Anycast DNS network, which routes queries to the geographically closest nameserver to reduce lookup latency and absorb distributed denial-of-service (DDoS) traffic.

Evaluate control plane capabilities such as granular Time-to-Live (TTL) adjustments, native IPv6 (AAAA) and ALIAS/ANAME flattening for apex domains, and API access. Programmatic DNS management allows infrastructure-as-code tools like Terraform to provision records and validate TLS certificates automatically during deployments.

Common mistakes

  • Leaving high TTL values before migrations: Failing to lower record TTLs well ahead of a server cutover forces recursive resolvers to serve stale IP addresses until the old cache expires.
  • Assigning a CNAME to the zone apex: Standard DNS rules prohibit placing a CNAME record at the root domain (such as example.com) because it conflicts with mandatory SOA and NS records.
  • Allowing domain registration to lapse: Forgetting to enable auto-renewal or monitor registrar notifications can result in immediate service outages and loss of domain control.
  • Exposing origin IPs behind a proxy: Leaving unproxied subdomains (like mail.example.com or legacy A records) pointing directly to a web server allows attackers to bypass CDN and firewall protections.

FAQ

What is the difference between a domain name and a URL?

A domain name identifies the specific network host (for example, docs.example.com), whereas a Uniform Resource Locator (URL) includes the protocol scheme, domain name, and specific resource path (such as https://docs.example.com/setup).

Can I host my domain registration and DNS zone with different providers?

Yes. You can register a domain at one registrar and delegate its authoritative DNS management to a separate hosting provider or CDN by updating the domain's NS (Nameserver) records at the registrar.

Why do newly updated DNS records take time to propagate?

DNS changes do not push out globally; instead, recursive resolvers cache existing records for the duration defined by the previous TTL value. Global visibility updates only after those cached entries expire and resolvers query the authoritative nameservers again.

All glossary terms

Glossary

Related terms

Full glossary

New guides every week.

A digest of the best pieces on servers, VPN and self-hosted software. No ads, no spam.

1 email a weekOne-click unsubscribeRU · EN
Only slipjar.app articles, nothing else.