DNS & Domain Names

DNS Propagation: Why Changes Seem to Take Hours

Learn why a DNS change reaches some people before others, how long to expect and how to check progress without guessing.

Key takeaways

  • Nothing is pushed across the internet after a DNS edit; old cached copies simply expire at different moments.
  • The longest normal wait for a record change is about the old TTL, measured from when you made the change.
  • Name server changes depend on TTLs in the parent zone, so plan on up to a couple of days.
  • Query the authoritative server first, then individual resolvers, to see exactly where a stale answer lives.

A DNS change takes time to show up because other computers are still holding copies of your old answer. Your authoritative name servers usually have the new record within seconds or minutes. Everyone else keeps using the cached version until its timer runs out.

That timer is the time to live, or TTL, attached to the old record. If it was 3600 seconds, most of the world catches up within about an hour of your change. If you changed which name servers your domain uses, the wait is often a day or two, because the timer involved belongs to your domain's parent zone and you don't set it.

What "propagation" really describes

The word suggests a wave that rolls from server to server. That picture is wrong in a way that matters, because it leads people to wait when they should be checking.

When you save a change in your DNS provider's control panel, the provider copies it to its own name servers. Those servers are authoritative, meaning they hold the official records for your zone. After that internal copy, there's nothing left to send anywhere.

The rest of the internet learns about your change only by asking. A recursive resolver, the server that looks up names on behalf of users, asks your authoritative servers when it has no fresh copy. It then keeps the answer for as long as the TTL allows. DNS caching and time to live covers that countdown in more detail.

So "propagation" is the period during which some caches have expired and refetched while others haven't yet. It ends gradually, one cache at a time.

Why two people see different answers after a change
Alex's resolver Your name server Sam's resolver Asks before the change 1 Old address, TTL 1 hour 2 Cached until the hour is up Asks after the change 3 New address, TTL 1 hour 4 Sam sees the new site at once Asks again after the old copy expires 5 New address 6 Alex's resolver Your name server Sam's resolver Asks before the change 1 Old address, TTL 1 hour 2 Cached until the hour is up Asks after the change 3 New address, TTL 1 hour 4 Sam sees the new site at once Asks again after the old copy expires 5 New address 6

How long to expect

The right estimate depends on what kind of change you made. The table below gives the controlling timer for common cases.

Change What controls the wait Typical experience
Edit an existing A, AAAA, CNAME, MX or TXT record The old record's TTL Minutes to hours
Add a brand new name Any cached "does not exist" answer Often immediate, sometimes up to the negative cache time
Delete a record The old record's TTL Same as an edit
Change name servers at the registrar TTL of the delegation in the parent zone Up to a day or two
Register a new domain Registry publication, then negative caching Usually quick, occasionally hours
Turn DNSSEC on or off TTLs of the DS and key records Hours to a day or more

The key word is "old". A TTL you lower at the same moment as the change does nothing for caches that already hold the earlier, longer value. They don't learn about the new TTL until they come back to ask.

Where stale copies hide

A resolver is only one of the caches between your record and a person's screen. Browsers keep their own short-lived copies. Operating systems run a local DNS cache. Home routers often forward and cache queries. Corporate networks may add internal resolvers on top.

Large public resolvers are fleets of servers in many locations. Two requests to the same address can reach different machines with different cache contents, so you may see the new answer, then the old one, then the new one again. That flapping is normal during a transition.

Some software adds delay of its own. A few resolvers enforce a minimum TTL, stretching very short values. Certain applications look up a name once when they start and keep the address in memory until restarted. An open connection also stays attached to the old server no matter what DNS says now.

Check the source first

Before you wait, confirm that your change actually exists where it should. Ask your authoritative server directly. First find its name, then query it.

# macOS or Linux
dig example.com NS +short
dig @ns1.example.com www.example.com A +noall +answer
# Windows PowerShell
Resolve-DnsName example.com -Type NS
Resolve-DnsName www.example.com -Type A -Server ns1.example.com

If the authoritative server returns the old value, waiting won't help. Common causes include an unsaved edit, a change made in a zone that isn't live, or a record added under the wrong name, such as www.example.com.example.com when a control panel appends the domain for you.

If your domain lists several name servers, query each one. A secondary server that hasn't received the update will hand out old answers to a share of users indefinitely.

Then check the resolvers

Once the source is right, look at what particular resolvers hold.

dig @1.1.1.1 www.example.com A +noall +answer
dig @8.8.8.8 www.example.com A +noall +answer

The number in the second column is the remaining TTL. If a resolver returns the old address with 900 seconds left, it will ask again in at most 15 minutes. If it returns the new one, that resolver is done.

Websites that show "propagation" across many countries do the same thing from several vantage points. They're useful for a quick overview, but they only tell you about the resolvers they test. They can't see your visitor's router or laptop. Using nslookup and dig explains the output line by line.

Someone still sees the old answer
Does your authoritative server return the old value? YES Fix the record at the DNS host. Waiting will not help. 1 NO Does their resolver return the old value? YES Wait out the remaining TTL, or ask the resolver to purge it. 2 NO Does their computer resolve the old address? YES Flush the local cache and check the hosts file. 3 NO DNS is correct Look at browser caching, an open connection, a CDN or the web server itself. Does your authoritative server return the old value? 1 IF YES Fix the record at the DNS host. Waiting will not help. NO Does their resolver return the old value? 2 IF YES Wait out the remaining TTL, or ask the resolver to purge it. NO Does their computer resolve the old address? 3 IF YES Flush the local cache and check the hosts file. NO DNS is correct Look at browser caching, an open connection, a CDN or the web server itself.

Why name server changes are slower

Your domain's delegation lives in the parent zone. For example.com, the .com servers hold NS records that point to your DNS provider. Those delegation records carry the registry's TTL, commonly around two days for large endings, though it varies.

When you switch providers, resolvers that cached the old delegation keep sending questions to the old provider until their copy expires. Some also hold on to the NS records the old provider itself returned.

During that window, both providers are answering real users. If the old one deletes your zone the moment you leave, part of your audience gets errors. If the two zones disagree, people get different sites depending on which they reach. Copy every record to the new provider before switching and leave the old zone running. How to migrate DNS without downtime walks through the full order.

Shorten the wait next time

You can't speed up a change already made, but you can prepare the next one.

  1. Find the current TTL on the record you plan to change.
  2. Lower it to something like 300 seconds, without changing the value.
  3. Wait at least as long as the previous TTL.
  4. Make the change.
  5. Confirm it, watch both old and new servers, then raise the TTL again.

The DNS TTL change planner helps you work out the times, and lowering TTL before a cutover explains why each step is there.

Speeding up what you can

For your own testing, flush the caches you control. On Windows run ipconfig /flushdns. On macOS run sudo dscacheutil -flushcache followed by sudo killall -HUP mDNSResponder. On Linux with systemd-resolved, run sudo resolvectl flush-caches. Then restart the browser, which may keep its own copy.

Some large public resolvers publish a web form that purges a single name from their caches. It helps people who use that resolver and nobody else. You have no way to flush an internet provider's cache or a stranger's router.

To preview a new server before anyone else sees it, add a temporary line to your hosts file. Remember to remove it, or you'll later debug a problem that exists only on your machine.

Mistakes that look like slow propagation

Several faults get blamed on propagation because the symptom is similar.

  • A leftover AAAA record. You update the IPv4 address but an old IPv6 address remains, so IPv6 users still reach the previous server.
  • A cached "not found". You tested a name before creating it, and your resolver remembers that it didn't exist.
  • Web caching. A browser or content delivery network serves an old page even though DNS is current.
  • A redirect cached by the browser. Permanent redirects can persist long after the server stops sending them.
  • Broken DNSSEC. A mismatch after moving providers makes validating resolvers return errors. See NXDOMAIN, SERVFAIL and other DNS errors.

If a full day beyond the old TTL has passed and a stale answer persists in several places, assume something is misconfigured and go back to the authoritative check.

Common questions

Why does the change work on my phone but not my laptop?

They're probably using different resolvers or have different local caches. A phone on mobile data asks your carrier's resolver, while your laptop on home Wi-Fi asks your router or internet provider.

Can my DNS host make propagation faster?

A host can publish changes to its own name servers quickly and let you set low TTLs. It can't force other resolvers to drop copies they already hold.

Is it safe to keep a very low TTL permanently?

It works, at the cost of more queries and less cushion if your DNS provider has trouble. Many sites keep stable records at an hour or more and lower them only before planned work.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in DNS & Domain Names →

Latest news on this topic