Loading network utility...
Loading network utility...
When you update a DNS record, changes do not appear instantly across the entire internet. This delay is known as DNS propagation, and it is governed by Time to Live (TTL) expiration schedules across multiple hierarchical caching layers spanning browsers, operating systems, and recursive resolvers.
Run live checks and calculations directly on LotsofNetwork.
DNS propagation is not an active replication protocol where servers push updates to one another; rather, it is a passive cache expiration model. An update on your authoritative nameserver takes effect at an endpoint only after that endpoint's cached copy of the previous record reaches zero in its TTL counter.
When a user navigates to a website, four distinct caching layers can store DNS records:
1. Browser Cache: Modern web browsers (Google Chrome, Firefox, Safari) maintain an internal DNS cache (typically 60 seconds) to prevent redundant system socket calls.
2. Operating System Cache: The OS resolver daemon (Windows DNS Client service, macOS mDNSResponder, Linux systemd-resolved) caches records locally for the full duration of the TTL.
3. Local Router / Gateway Cache: Home and office Wi-Fi routers act as DNS forwarders and cache responses for all devices on the local area network.
4. Recursive Resolver (ISP & Public DNS): Upstream resolvers (Comcast, AT&T, Cloudflare 1.1.1.1, Google 8.8.8.8) cache records until the authoritative TTL expires.
The single most effective engineering practice for seamless server migrations without downtime is the Pre-Migration TTL Lowering Strategy.
If your production A record has a standard TTL of 86,400 seconds (24 hours), recursive resolvers across the world will continue directing traffic to your old IP address for up to 24 hours after you change the record.
To prevent downtime: 48 hours prior to your planned migration, lower the TTL of your DNS records to 300 seconds (5 minutes). Wait for the old 24-hour TTL to fully expire from all global caches. Then, perform your IP switch. Global traffic will migrate to your new server in just 5 minutes.
| Timeline Stage | Configured Record TTL | Global Cache Status | User Experience Impact |
|---|---|---|---|
| 48h Before Cutover | Lower TTL: 300s (5m) | Old 86,400s caches begin counting down | Normal traffic to old server |
| 0h (Cutover Time) | Update IP to New Server | Resolvers query authoritative server every 5m | Users migrate to new IP within 300s |
| 48h After Cutover | Restore TTL: 86400s (24h) | New server stable; caching reduces DNS queries | Optimal performance & lower DNS query cost |
Many developers experience a situation where a newly created subdomain works for colleagues but displays a DNS error on their own machine. This is caused by Negative Caching (RFC 2308).
If you test a new subdomain (e.g., staging.example.com) before adding the DNS record, your resolver receives an NXDOMAIN (Non-Existent Domain) response. Under RFC 2308, the resolver caches that negative response for the duration specified by the SOA Minimum TTL (often 300 to 3600 seconds), refusing to query the server again until the negative cache expires.
When testing DNS changes, flush your local operating system DNS cache to force immediate re-resolution:
# Windows: Flush DNS resolver cache ipconfig /flushdns # macOS: Flush mDNSResponder and directory service cache sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder # Linux (systemd-resolved): Flush and restart local stub resolver sudo resolvectl flush-caches # Verify flush status: resolvectl statistics # Query authoritative nameserver directly to verify update is live at source dig @ns1.example.com example.com A +short
AI Mobile App Developer & Full-Stack Systems Engineer•Dhaka, Bangladesh
Bayajit Islam is an AI Mobile App Developer and Full-Stack Systems Engineer based in Dhaka, Bangladesh. With 2+ years of hands-on production experience building cross-platform apps for iOS, Android & Desktop with Flutter & Dart, asynchronous backends with FastAPI & Python, and modern web applications with Next.js, TypeScript, and Docker, he engineered LotsofNetwork as a zero-latency, privacy-first diagnostic platform for developers and network administrators.
Quick answers to common questions on this topic.
High-speed, zero-cost engineering tools built for network diagnostics and developer workflows.
Detect IP, GeoIP, ISP, ASN & PTR
Reverse IP to PTR hostname & verify FCrDNS
Query A, AAAA, MX, TXT & NS records
Domain registrar & expiry info
Audit SPF, DKIM & DMARC records
Calculate CIDR, masks & host ranges