Domains

DNS propagation and TTL explained: why DNS changes take time

Why a DNS or nameserver change reaches people at different times, what TTL controls, how long propagation really takes and how to plan a move with near-zero downtime.

BeginnerEveryone2 min read

"DNS propagation" is the time between changing a DNS setting and everyone on the internet seeing it. Nothing is actually pushed around the world: resolvers simply keep old answers in their cache until those answers expire. Understanding this makes migrations predictable.

Key terms

  • TTL (time to live): the number of seconds a resolver may cache a record, for example 3600 = one hour.
  • Resolver cache: the stored answers at your ISP, public DNS services, your router and your computer.

How long it takes

ChangeTypical timeWhy
Edit a record (A, MX, TXT)Up to the old record's TTL, often minutes to a few hoursCaches expire after the TTL.
Add a brand new recordUsually minutesNothing old is cached, unless a "not found" answer was cached.
Change nameserversA few hours, up to 24 to 48 hoursTLD delegations carry long TTLs, often one or two days.

Plan a change with little downtime

  1. A day before, lower the TTL of the records you will change to 300 seconds.
  2. Wait at least the old TTL so caches pick up the short value.
  3. Make the change. Most visitors move within minutes.
  4. Keep the old server running for a day or two for stragglers, then raise the TTL again.

Nameserver changes cannot be shortened this way, so keep both old and new hosting live during the switch. See migrating a website between hosts.

How to check progress

  • Run nslookup example.com 8.8.8.8 and nslookup example.com 1.1.1.1 to compare public resolvers.
  • Check nameservers with the WHOIS checker.
  • Flush your own cache: on Windows run ipconfig /flushdns; on macOS run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.