You changed a record, your phone shows the new site and your laptop still shows the old one. Nothing is broken. That is DNS propagation: the time it takes for the whole internet to forget the old answer.
Knowing what causes the wait lets you shorten it and, above all, plan a move so that nobody notices.
What is happening
The word is misleading. Nothing spreads outward. When you save a record, your DNS provider has it within seconds. What takes time is that other servers keep a copy of the old answer until it expires.
When someone opens your site, their device asks a resolver (from their internet provider, their company, Google or Cloudflare). The resolver answers from memory if it has the data, and asks your name servers only when the copy has expired. Each resolver asked at a different moment, so each one expires at a different moment. That is why two people can see two different sites at the same time.
The length of the copy is the TTL (time to live), in seconds, and you set it in each record. If the basics are new to you, read how DNS works.
How long it takes
| Change | Typical wait | Depends on |
|---|---|---|
| A or AAAA record (the server's address) | Minutes to a few hours | The TTL the record had before |
| CNAME | Same | Same |
| MX (mail) | Minutes to a few hours | Same |
| TXT (SPF, DKIM, verification) | Minutes to a few hours | Same |
| A record that didn't exist | Minutes, sometimes more | How long "doesn't exist" was remembered |
| Name servers | A few hours, up to 48 | The TTL in the registry of the extension |
| DNSSEC changes | Up to two days | Same, and order matters |
For .com domains, the registry publishes name servers with a TTL of two days (172,800 seconds). That is where the famous "24 to 48 hours" comes from. In practice most visitors see the change much sooner.
How to check it
Ask the source
First confirm that your own name servers have the new value. If they don't, waiting won't help: the record is wrong or in the wrong place.
dig NS example.com +short
dig A example.com @ns1.yourprovider.com +shortOn Windows, without dig:
nslookup example.com ns1.yourprovider.comAsk the resolvers
dig A example.com @1.1.1.1
dig A example.com @8.8.8.8The number next to the name is the seconds left before that copy expires. Run it twice and you will see it fall.
Look from many places
DNS Checker and whatsmydns.net ask resolvers in several countries at once. Don't expect all of them to be green: what matters is that most of your visitors' countries are.
How to see the new site before the change
Add a line to the hosts file of your computer, with the new server's address:
203.0.113.10 example.com www.example.comIt is in /etc/hosts on Mac and Linux, and in C:\Windows\System32\drivers\etc\hosts on Windows, where you have to open the editor as administrator. Your computer will go to the new server while the rest of the world stays on the old one. Delete the line when you finish; forgetting it has caused many confusing afternoons.
How to move without downtime
- Two days before, lower the TTL of the records you will change to 300 seconds. Do it early: the old TTL still has to run out.
- Copy all the records if you are changing DNS provider: A, CNAME, MX, TXT, SRV, CAA. Mail records are the ones most often forgotten.
- Prepare the new server with the whole site and a valid certificate, and test it through the
hostsfile. - Freeze the content during the change, or put the store in maintenance for a short while, so that no orders end up on the old server.
- Change the records at a quiet hour.
- Keep the old server running for at least 48 hours, showing the same site.
- Watch the visits on the old server. When they stop, you can close it.
- Raise the TTL again to an hour or more.
Our guide to migrating WordPress without downtime explains the WordPress part. And if you move to Phluit, the migration is free and done by our team.
How to speed things up on your side
You can't empty other people's caches, but you can empty your own.
- Windows:
ipconfig /flushdns - macOS:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder - Linux:
sudo resolvectl flush-caches - Chrome: open
chrome://net-internals/#dnsand press Clear host cache - Router: restart it
- Public resolvers: Google and Cloudflare have pages to clear one domain from their memory: Google and Cloudflare
Mistakes that look like propagation
| What you see | The real cause |
|---|---|
| After three days it still doesn't change | You edited the zone at a provider that your domain doesn't use. Check the name servers |
The site works without www and fails with it | One of the two records is missing |
| The old site, only in your browser | Browser cache. Try a private window |
| A certificate error | The new server has no certificate for your domain yet |
| Mail stopped | The MX or SPF records weren't copied |
| Some people reach it and others don't, for good | An old AAAA (IPv6) record points to the previous server |
| "SERVFAIL" | DNSSEC is on at the registry with a key from the former provider |
The last one is serious: before you change DNS provider, turn off DNSSEC at the registrar, wait two days and turn it on again with the new one.
What TTL should you use?
- An hour (3600) for most records.
- Five minutes (300) for what may change soon.
- A day (86400) for what never does, such as many TXT records.
A low TTL forever brings more queries and little benefit.
Frequently asked questions
Do search engines notice?
If both servers show the same site during the change, no.
Does a new domain need to propagate?
It needs to be published by its registry, which usually takes minutes. If you visited it before it existed, your resolver may remember the "doesn't exist" for a while.
Can a change be undone?
Yes, by putting back the old value, and the wait starts again. Another good reason for a low TTL on the day of the move.
