Skip to main content
BytesProbe
Probe. Diagnose. Secure.

DNS propagation: what TTL really means

Nothing propagates. Resolvers hold a cached answer until its TTL expires, which is why a change appears in some places before others, and what to do before you make one.

"DNS propagation" is a misleading name for something real. Nothing propagates. Your DNS change is live on your authoritative nameservers the moment you save it, and there is no process that pushes it outwards to the rest of the internet.

What actually happens is that resolvers around the world are still holding the old answer, because you told them to. The time they hold it for is the TTL, and until it expires they will keep serving the previous value without asking you again. The delay is caching expiring, not data spreading.

That distinction is practical rather than pedantic. If a change were propagating, waiting would be all you could do. Because it is caching, you can control the delay — but only in advance.

What TTL is

Every DNS record carries a Time To Live in seconds. It instructs any resolver that fetches the record how long it may reuse the answer before checking again.

www.example.com.    3600    IN    A    203.0.113.10
                     ^
                     TTL: cacheable for one hour

A resolver that fetched this record 50 minutes ago will serve 203.0.113.10 for another 10 minutes, whatever you have since changed it to. A resolver that has never seen it will ask your nameservers and get the new value immediately.

This is why a change appears to roll out unevenly. Different resolvers cached at different moments, so their copies expire at different moments. Someone in the next office may see the new address while you still see the old one, purely because their resolver happened to look it up later than yours.

Common TTL values

TTLIn practiceSuits
300 (5 min)Changes visible quickly; more queries to your nameserversRecords about to change; failover
3600 (1 hour)A reasonable defaultMost records, most of the time
86400 (24 hours)Changes take a day to clearRecords that essentially never change

The right way to make a change

The trick is to lower the TTL before you need it low, because the lower value is itself subject to the old TTL.

  1. Lower the TTL to 300, and wait for the old TTL to pass. If it was 86400, wait a day. You are waiting for every cached copy of the old long TTL to expire, so that resolvers pick up the record with its new short TTL.
  2. Make the actual change. Resolvers now cache it for only five minutes.
  3. Verify it has taken effect across resolvers with the DNS propagation checker.
  4. Raise the TTL again once everything is stable.

Skipping step one is the single most common cause of an all-day wait. If you change an A record that has been sitting at 86400 for a year, some resolvers will keep the old address for most of a day, and there is nothing you can do about it from your side.

Why you cannot force it

You cannot flush somebody else's resolver. Some large public resolvers offer a page where you can request a refresh for a name, and that helps for those specific resolvers, but it does nothing for the thousands of ISP and corporate resolvers in between.

You can flush your own machine, which is worth doing before concluding anything is wrong:

# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

# Windows
ipconfig /flushdns

# Linux, systemd-resolved
sudo resolvectl flush-caches

Be aware the browser caches separately from the operating system, which is why a change sometimes appears in a terminal before it appears in a tab.

Reading a propagation check

The propagation checker queries public resolvers and shows which answer each one is serving. Rows that disagree are the ones still holding a cached copy — or, occasionally, a sign that the domain uses location-aware DNS and is meant to answer differently in different places.

One caveat worth understanding about every tool of this kind: most large public resolvers use anycast, so a query reaches whichever node is nearest the service doing the checking, not the node nearest a particular country. Those rows compare resolver caches rather than geography. Only resolvers operated from a known region tell you anything about that region.

If you want to see what your authoritative servers are actually publishing right now — with no caching between you and them — the DNS lookup tool shows the record and the TTL currently being handed out.

Things that genuinely take longer

Nameserver changes. Changing which nameservers host your domain means updating NS records at the registry, which have their own TTLs, often 48 hours. This really is slower than an ordinary record change, and it is where the folklore about "48 hours for DNS" comes from.

Negative caching. If a name did not exist when a resolver asked, that absence is cached too, governed by the SOA record's minimum field. Create a record that somebody has already tried to look up, and they may keep seeing NXDOMAIN for a while.

Misbehaving resolvers. A minority ignore TTLs and cache for their own fixed period. Nothing can be done about these except wait; they are rare enough not to plan around.

A checklist before you change anything

  • Check the current TTL with the DNS lookup tool.
  • Lower it, and wait out the old value in full.
  • Keep the old server running until the change has cleared. Switching an address and decommissioning the old host the same hour is how outages happen.
  • Make the change, then confirm with the propagation checker rather than by refreshing your own browser.
  • Raise the TTL once you are confident.

More in the guides index.