_noob.tools
My IP
All guides

DNS propagation: why changes take time and how to check them

DNS does not propagate, it expires. How TTL and negative caching decide when a change is visible, and how to verify it at the source and on public resolvers.

By noob.tools · · 4 min read

You changed a record, and your colleague sees the new address while you still see the old one. The usual explanation is "DNS propagation", but nothing is being pushed anywhere. Understanding what actually happens tells you how long to wait, and which check proves the change is correct.

DNS caches; it does not propagate

Your authoritative name servers hold the truth. Every other resolver (your ISP's, your company's, 8.8.8.8, 1.1.1.1) fetches an answer from them on demand and keeps it for the number of seconds in the record's TTL. A change on the authoritative side is visible to a given resolver only when its cached copy expires and it asks again.

So "propagation time" is really "how long until each cache that holds the old answer expires". It differs per resolver because each one cached at a different moment. That is why two people can see different answers for hours, and why asking more than one resolver is the right test.

What decides how long it takes

  • The TTL of the old record. If it was 86400 (24 hours), a resolver that cached it a minute before your change can keep serving it for almost a full day.
  • Delegation changes (NS records). The parent zone (for example the .com servers) publishes your name servers with their own TTL, commonly 48 hours. Moving to a new DNS provider is the slowest kind of change.
  • Negative caching. Resolvers also cache the absence of a record. If you query a name before it exists and then create it, the "does not exist" answer can be remembered for the negative TTL taken from the zone's SOA record. This surprises people who test first and publish second.
  • Other caches: operating systems, browsers and apps keep their own short caches on top of the resolver's.

Plan ahead with the TTL

The reliable way to make a change fast is to lower the TTL before you make it:

  1. Two days before (or at least one old TTL before), set the record's TTL to something short such as 300 seconds.
  2. Wait for the old TTL to pass, so every cache now holds the short one.
  3. Make the change. Most resolvers pick it up within minutes.
  4. After you have confirmed it works, raise the TTL back, since a very low TTL increases query load and latency for everyone.

NXDOMAIN versus NODATA

Two different empty answers are easy to confuse:

  • NXDOMAIN: the name does not exist at all.
  • NODATA: the name exists, but has no record of the type you asked for. For example AAAA for a host that only has an A record.

When a check reports "no record", knowing which one it is tells you whether to fix the name or add a record type. The propagation checker on this site distinguishes the two.

Check at the source first

Always start with the authoritative servers. Find them, then ask one directly:

dig +short NS example.com
dig @ns1.example.net example.com A

If the authoritative answer is wrong, nothing downstream can be right and waiting will not help. If it is correct, the rest is just caches expiring. The DNS Zone Health Check asks every authoritative name server and compares their SOA serial numbers, which catches the case where one server still serves an old version of the zone.

Then check public resolvers

Once the source is correct, compare what several independent resolvers say. The Global DNS Propagation Checker queries many public resolvers at once and shows which ones already return the new value.

Try it yourselfGlobal DNS Propagation CheckerCheck DNS resolution worldwide.

For a single lookup with full detail (TTL remaining, flags, the answer section), use the Advanced DNS Lookup or the quick A record lookup.

If your own machine still shows the old value

  • Flush the OS cache: resolvectl flush-caches (systemd), sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder (macOS), ipconfig /flushdns (Windows).
  • Browsers keep their own DNS cache; closing and reopening them, or a private window, clears it.
  • Test with a specific resolver to bypass your local one: dig @1.1.1.1 example.com.

Checklist

  1. Lower the TTL before the change, not after.
  2. Verify the answer on the authoritative servers first.
  3. Compare several public resolvers; differences are normal until old caches expire.
  4. "No record" can mean NXDOMAIN or NODATA; check which.
  5. Raise the TTL back once the change is confirmed.

Tools used in this guide