What actually propagates: TTL and caches
"Allow 24-48 hours for propagation" is the standard advice from providers, but it describes what happens poorly. DNS doesn't send changes anywhere. When you change a record, it changes only on the domain's authoritative nameserver. Everyone else, meaning ISP resolvers, Google, Cloudflare, your home router, keeps using the copy in its cache until it expires.
How long that copy lasts is set by the record's TTL (time to live). RFC 1035 defines it as the interval in seconds for which the record may be cached. A record with a TTL of 3600 can stay stale for up to an hour on a resolver that has just read it. "Propagation" is therefore many caches expiring at different moments, which is why a colleague sees the new site and you don't.
Three different waits depending on the change
A record changed in the zone
You change the IP of an A record or the value of a CNAME at your current DNS provider. The longest wait is the TTL the record had before the change, because that is what the caches stored. Lowering the TTL at the same time as the value doesn't help: existing caches still hold the old TTL.
A nameserver change
You move DNS hosting, for example to Cloudflare. What counts here is the TTL of the delegation, the NS records published by the top-level domain registry. At the time of writing, querying the registry servers with dig shows a TTL of 172800 seconds (48 hours) for a .com delegation and 3600 seconds (one hour) for a .it delegation. Much of the famous "24-48 hours" comes from here.
A new record that didn't exist before
If someone looked up the record before you created it, the resolver also stored the answer "does not exist". RFC 2308 states that this negative answer stays cached for the lower of the SOA record's MINIMUM field and the SOA's own TTL. For domain verifications (Google, Microsoft, Brevo), create the record before you click "verify".
Lowering the TTL before a change
For planned changes such as moving hosting, this is the procedure we use:
- At least one TTL beforehand (if the record has 86400, a day before), lower the TTL of the records you will change to 300 seconds.
- Wait for the old TTL to expire.
- Make the change: caches now pick it up within five minutes.
- Verify, and keep the old server running for a few hours.
- Raise the TTL back to 3600 or more once everything is stable.
On Cloudflare the minimum TTL for DNS-only records is 60 seconds (30 on Enterprise), "Auto" means 300 seconds, and proxied records have a fixed TTL of 300 seconds. More delicate migrations with a planned rollback are covered in our guide to zero-downtime ecommerce migration.
Checking with dig and online tools
The reliable method separates two questions: what the authoritative nameserver says, and what resolvers say.
1. The authoritative nameserver
Find the domain's nameservers with dig NS example.com +short, then query one of them directly: dig A www.example.com @ns1.provider.com +short. This answer bypasses every cache. If it shows the old value, the change was not saved where it needs to be.
2. Public resolvers
Repeat the query against @8.8.8.8 (Google) and @1.1.1.1 (Cloudflare) without +short. In the answer, the number next to the name is the remaining TTL: it tells you how many seconds before that resolver asks again.
3. The delegation
After a nameserver change, dig NS example.com +trace follows the chain from the root and shows which NS records the registry publishes. On Windows, use nslookup -type=A www.example.com 8.8.8.8 instead of dig.
Online tools that query resolvers in several countries give a handy overview, but they show the same thing: caches with different expiry times.
Browser and operating system caches
Your computer has its own DNS cache, and the browser has another. To clear them:
- Windows:
ipconfig /flushdns. Microsoft notes that this also removes negative entries from the client cache. - macOS:
sudo dscacheutil -flushcachefollowed bysudo killall -HUP mDNSResponder. - Chrome:
chrome://net-internals/#dnsand "Clear host cache".
Google Public DNS and Cloudflare each offer a page to purge their resolver cache for a specific name; after a registrar or DNS hosting change, Google advises flushing the main domain first and then subdomains. ISP resolver caches cannot be cleared from outside.
Common problems during changes
- Editing the wrong panel: the domain is registered with one provider but DNS is hosted elsewhere. The record changed in the registrar's panel is never read. This is the most frequent mistake, explained in our guide to DNS, domains and hosting.
- Duplicate records: two A records for the same name, one new and one old. Resolvers return both and half the visits go to the old server.
- Forgotten AAAA: you update the IPv4 address but an AAAA record still points to the old server, so IPv6 users see the old site.
- Doubled name: you type
www.example.comin the name field and the panel createswww.example.com.example.com. - Cloudflare proxy on: dig returns Cloudflare IPs, not your server's. That is expected behaviour, not an error.
When it isn't propagation
If the authoritative nameserver already returns the new value, the public resolvers do too, and the problem persists, the cause lies elsewhere:
- SERVFAIL on some resolvers after a nameserver change: often DNSSEC, with a DS record left at the registrar that doesn't match the new provider's keys. See our guide to DNSSEC for ecommerce domains.
- Emails not arriving after moving DNS: MX, SPF or DKIM records are missing in the new zone, as described in our article on how to move DNS to Cloudflare without losing email.
- Old page despite the right IP: CDN, server or browser cache, not DNS.
- Certificate error: the new server doesn't yet have a valid certificate for the domain.
Checklist for future changes
- Export the current zone before touching anything.
- Check which nameservers are active with
dig NS. - Lower the TTL to 300 at least one TTL beforehand.
- Make the change and check the authoritative nameserver straight away.
- Check 8.8.8.8 and 1.1.1.1 and read the remaining TTL.
- Verify related AAAA, MX and TXT records.
- Raise the TTL again once things are stable.
If you have a DNS or hosting change to plan and want it done without downtime, get in touch through our contact page.
- propagazione dns
- ttl dns
- dig
- cache dns
- nameserver
- record dns
- dominio
Frequently asked questions
How long does DNS propagation take?
It depends on the TTL. A record changed in the zone updates on every resolver within the TTL it had before the change, often between 5 minutes and a few hours. A nameserver change depends on the delegation TTL at the registry, which is 48 hours for .com.
Can I speed up DNS propagation?
Only partly. You can clear your computer's and browser's cache and ask Google Public DNS and 1.1.1.1 to purge their cache for your domain. ISP resolver caches cannot be cleared from outside: there you wait for the TTL.
How do I check whether a DNS record has updated?
With dig: query the domain's authoritative nameserver first, then public resolvers such as 8.8.8.8 and 1.1.1.1. If the authoritative server has the new value and the resolvers the old one, it's only cache, and the TTL in the answer shows how long is left.
Why do I see the new site on my phone but not on my computer?
Because the two devices use different resolvers or caches: the phone on mobile data uses the carrier's DNS, the computer uses the router's or the office network's. Clear the system and browser cache on the computer, or wait for the TTL.
Sources
- RFC 1035: Domain names - implementation and specification — IETF
- RFC 2308: Negative Caching of DNS Queries (DNS NCACHE) — IETF
- Time to Live (TTL) — Cloudflare Docs
- Flush Cache — Google Public DNS
- ipconfig — Microsoft Learn
Related articles
Server & Domains · 6 min read
Move DNS to Cloudflare without losing email or your website: a safe procedure
How to move DNS to Cloudflare without breaking mail or the website: record inventory, checking the import, orange or grey cloud, the nameserver switch and a rollback plan.
Server & Domains · 7 min read
DNS, domain and hosting: technical guide to configuring everything correctly
Understanding the difference between registrar, DNS, hosting and server. How to configure Cloudflare, SSL, MX records and everything needed for solid infrastructure.
Server & Domains · 7 min read
DNSSEC for ecommerce domains: activation, validation, and key rotation
An operational guide to signing an ecommerce zone, publishing its DS without breaking resolution, validating the chain, and rotating keys safely.
