Skip to content
Getting Digital

DNS (Domain Name System)

Also: domain name system, nameservers, DNS records

DNS is the distributed lookup system that turns a hostname such as getting-digital.net into the IP address a browser can connect to, by walking a chain of nameservers whose answers are then cached for a lifetime the domain's owner publishes.

Our take. We treat almost every complaint about slow DNS changes as self-inflicted, because the waiting is the TTL you published rather than any sluggishness in the network. Our second position is less popular with hosting sales teams: keep authoritative DNS at a specialist such as Cloudflare or Amazon Route 53 instead of inside the hosting account, so that the zone outlives whichever provider currently serves the site.

DNS is how a name becomes a route. Your device asks a recursive resolver, either the one your access provider runs or a public service like Cloudflare at 1.1.1.1, for the address behind a hostname. When that resolver holds no cached answer it begins at the root servers, gets referred to the servers responsible for the top-level domain, and gets referred once more to the authoritative nameservers listed in the domain's NS records. Those authoritative servers publish the zone: the set of records the owner edits, whether it lives in BIND on a machine you run yourself, in Route 53, or behind a registrar's web panel. The resolver keeps the reply for the seconds specified by the record's TTL and hands the address back, at which point the browser opens a connection to the web server. No page content has moved yet. This system only answers questions about names, and every later problem people blame on it is really a question about which zone is authoritative.

Propagation is mostly a number you chose

There is no queue of machines slowly copying your zone around the planet. Authoritative nameservers serve a new record as soon as you save it; what lingers is the previous answer sitting in resolver caches until its published lifetime runs out. The famous advice to allow up to two days is an umbrella covering long lifetimes nobody remembered to shorten and resolvers that ignore the value anyway. Shorten the lifetime a day ahead of a planned change, restore it afterwards, and the wait collapses to the figure you set.

A zone is short, and each record type earns its place. A and AAAA attach a name to an IPv4 or IPv6 address, so editing one of them is not preparation for a migration, it is the migration. CNAME aliases a name onto another name, which lets a subdomain follow a platform whose addresses change without warning; the snag is that an alias cannot sit beside other records at a zone's apex, so the bare domain normally needs an address record or a provider's flattened equivalent. MX decides where mail arrives and says nothing about where pages are served, which is why the standard disaster is a tidy-up that repoints a site and quietly takes the mailboxes with it. TXT carries SPF and DKIM policies plus verification strings. NS is the delegation itself, and therefore the first thing to check in an incident: whichever panel those records point at is the live one, no matter how many others still show a plausible-looking zone. Confirm rather than assume. Ask the public resolvers what they currently see, then ask the authoritative server directly with dig, and treat any difference between the two replies as the actual fault.

In practice

Work the arithmetic before a server move. Suppose the address record for a site carries a TTL of 86400 seconds. Divide by 3600 and that is 24 hours, so a resolver that cached the reply a minute before you edited the zone may keep sending visitors to the old machine for nearly a full day, while you watch traffic arrive at both servers and conclude that something is broken. Instead, drop the value to 300 seconds, which is five minutes, at least a full day in advance so that every cached copy of the long lifetime expires first. Move the site, repoint the record, confirm the change against the authoritative server, then put the long lifetime back to spare the resolvers.

  • Day before: lower the TTL on the records you intend to change, and only those.
  • Move day: repoint A and AAAA, leave MX alone unless mail is genuinely moving too.
  • After: query the authoritative nameserver and a public resolver, compare, then restore the longer TTL.

Often confused with

Domain Name
The domain name is the rental agreement at a registrar; DNS is the machinery that answers questions about it once registered.
Web Server
DNS only reports an address. The web server at that address is what actually returns the page, so a correct lookup and a broken site can happily coexist.
CDN (Content Delivery Network)
A CDN is usually reached through DNS, but the two roles are separate: one hands out an address, the other stores and serves copies of your files.

Key takeaways

  • →Resolution runs root to top-level domain to your authoritative nameservers, and whichever panel the delegation points at is the only one with authority.
  • →Repointing address records is the migration itself, while mail routing sits in separate MX records that must be moved deliberately or not at all.
  • →Change speed is bought in advance by lowering record lifetimes, not by waiting for the internet to catch up.

Related concepts

  • The domain is the rented name; DNS is the system that makes it point somewhere.

Certifications that test this

Vendor exams whose syllabus covers this concept — facts, cost and a preparation path on each page.

More courses from these shelves

A rotating selection from the course directory, drawn from the subcategories where this concept is taught rather than picked for it. Details, price and the provider link are on the course page.

EVE-NG - How To Build Cyber Security and Networking Labs 2

You ever have the feeling that you sort of know what something is but.well not really?Like, you've read about it on blo…

Udemy

Performance Testing with Neoload: Design, Execute & Analysis

Welcome to "Isha Training Solutions"** Pls be noted that this course is pulled out from live sessions. So, you will be…

Udemy

Kubernetes on AWS using Amazon EKS

Welcome to Kubernetes on AWS using Amazon EKS course.This course is completely focused on Amazon EKS - which is a mange…

Udemy

Increasing BDD Code Efficiency

Increasing BDD (Behavior Driven Development) Code Efficiency is all about minimizing your maintenance effort while maxi…

Udemy

Amazon EKS Security and Networking Masterclass

Welcome to Amazon EKS Security and Networking Masterclass course.This course is completely focused on Amazon EKS Securi…

Udemy

Regular Expressions Masterclass: REGEX Universal 8.5 Hours!

8.5 HRS OF AWESOME FIVE STARS ⭐⭐⭐⭐⭐ VIDEOS!This is the largest Regular Expressions (REGEX) course on the Udemy platform…

Udemy

FAQ

Why did my change work for me but not for a colleague?
You are almost certainly querying different resolvers with different cached copies, and possibly different lifetimes left on them. Ask the authoritative nameserver directly for the truth of the zone, then treat every other answer as a cache that will expire on schedule.
Should my nameservers live at the registrar or the host?
Either works if it is reliable and you hold the login. The failure mode worth avoiding is split administration, where records exist in two panels and nobody is certain which set the NS records actually delegate to.
Does DNS have anything to do with security?
More than its reputation suggests. TXT records carry the SPF and DKIM policies that stop other people sending mail as you, certificate issuance can be validated through records in your zone, and anyone who takes over the zone can point both your site and your mail wherever they like. Protect that account as seriously as the hosting one.

Sources

The primary text this definition rests on. Read it before you trust ours.

Last reviewed 14 September 2026 · Getting Digital