DNS propagation and TTL: why DNS changes take time

Why a DNS change is visible for some people and not for others, what TTL really means, and how to plan a change so it takes effect quickly.

You change a DNS record, check your website, and nothing has happened. A colleague sees the new site; you still see the old one. Then an hour later it suddenly works. This is usually called "DNS propagation" – but nothing is actually being pushed around the internet. What you are seeing is caching, and once you understand it you can plan changes so they take effect within minutes.

There is no propagation – only caches expiring

When you save a record at your DNS provider, the authoritative name servers normally serve the new value within seconds (or a few minutes, if the provider has secondary servers that need to sync). From that moment the truth has changed.

But very few clients ask the authoritative servers directly. They ask a recursive resolver – at their ISP, their company, or a public service like Cloudflare or Google – and that resolver may already have the old answer in its cache. It will keep handing out the old answer until the cached copy expires. Different resolvers fetched the record at different times, so they expire at different times. That is why the change seems to "spread" gradually.

What TTL means

Every DNS record carries a TTL (time to live), in seconds. When a resolver fetches a record with TTL 3600, it may serve that answer for up to one hour before it must ask again. When you query a resolver, the TTL you get back is the remaining time: if you see 1200, the cached copy will be thrown away in 20 minutes.

That is exactly what the "Compared with public resolvers" table in a webstriker report shows. The top row is the authoritative answer with its full TTL. The rows below show what each resolver currently has cached and how long that copy will live. A red ≠ means the resolver still has a different (usually older) value – and the TTL tells you how long until it refreshes.

Advertisement

The important detail: the old TTL is what counts

This is the part that catches most people. If your A record has a TTL of 86400 (24 hours) and you change both the address and the TTL to 300, resolvers that cached the record just before the change will keep the old address for up to 24 hours. They have no way of knowing anything changed until their copy expires. Lowering the TTL only helps for changes made after the old TTL has run out.

How to plan a DNS change

  1. At least one old TTL in advance – typically a day before – lower the TTL of the records you are going to change, for example to 300 seconds (5 minutes).
  2. Wait until the old TTL has passed. Now every cache holds the record with the short TTL.
  3. Make the change. All caches will pick up the new value within five minutes.
  4. Check with webstriker that the authoritative answer is correct and watch the resolver rows turn green.
  5. Raise the TTL again (for example to 3600 or more) once you are sure everything works, to reduce load and improve resilience.

When moving a website to a new server, keep the old server running until the old TTL has passed, so visitors who still get the old address are not met by an error.

Changing name servers is slower

Moving a domain to a new DNS provider means changing the NS records at the registry, through your registrar. Those delegation records at the TLD often have TTLs of one or two days (for example 86400 or 172800 seconds), and you cannot lower them yourself. Plan for up to 48 hours, keep the zone identical at both the old and the new provider during the move, and do not delete the old zone until all resolvers have switched over. If the domain uses DNSSEC, read the DNSSEC guide first – a stale DS record will make the domain fail completely for validating resolvers.

Negative caching

Resolvers also cache the fact that a name does not exist. If you look up new.example.com before creating it, resolvers remember "no such name" for a period set by the last field of the zone's SOA record (often 300–3600 seconds). Creating the record will not help those resolvers until that negative answer expires. Avoid testing a name before it exists.

Other caches along the way

Key takeaways

Try it yourself:
Advertisement

More guides