DNS propagation: why changes take time
"Propagation" is the delay between changing a DNS record and everyone seeing the new value. Nothing is being sent around the world. Instead, old answers are being forgotten at different times.
Why there is a delay
Resolvers store answers so they do not ask again for every visit. Each answer has a TTL (time to live) in seconds. Until it runs out, the resolver keeps giving the old answer.
| Change | Typical wait |
|---|---|
| Edit a record on Barbrick's nameservers | Up to the record's old TTL. Often minutes. 3600 seconds is one hour. |
| Change nameservers at your registrar | Often 1 to 4 hours. Allow up to 24 hours. The registry's own delegation records are cached for up to 24 hours for .ca and 48 hours for .com, so a few resolvers can lag that long. |
| New record that never existed | Usually fast. Negative answers ("no such name") are cached too, often for a short time. |
DNS changes usually show within an hour. Allow up to 24.
What you will see during the wait
- You see the new site, and a colleague sees the old one.
- Email goes to the old and new servers at different times.
- Your phone on mobile data differs from your laptop on Wi-Fi.
Make it faster next time
Lower the TTL before a planned change.
- Two days before the move, lower the TTL on the records you will change to 300 seconds (five minutes).
- Wait for the old TTL to pass.
- Make the change.
- After it settles, raise the TTL back to 3600 or higher.
See TTL: how long records are remembered.
Check progress
From a terminal, ask a few different resolvers.
dig +short example.ca A @1.1.1.1
dig +short example.ca A @8.8.8.8
dig +short example.ca A @gordon.barbrick.ca
203.0.113.25
203.0.113.25
203.0.113.25
The last command asks Barbrick's own nameserver, so it shows the truth. If it shows the new value and the others do not, you are waiting on caches. Online tools show many resolvers at once. See Check your DNS records.
Clear your own cache
Your own computer may hold the old answer.
| System | Command |
|---|---|
| macOS | sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder |
| Windows | ipconfig /flushdns |
| Chrome | Open chrome://net-internals/#dns and choose Clear host cache |
Browsers and operating systems have separate caches. Restarting the browser helps.
If it still has not changed after 24 hours
- Query Barbrick's nameserver directly, as above. If it shows the old value, the edit did not save.
- Check your registrar lists the right nameservers. See Change your domain's nameservers.
- Open a support request with the output of
digattached.
Still stuck? Ask us and we'll walk you through it.