Get a detailed answer to what is dns caching along with step-by-step troubleshooting instructions and related DNS resources.
ReviewMyDNS is a free DNS propagation checker that queries 50+ global DNS servers to verify your DNS records. Check A, AAAA, MX, CNAME, TXT, NS, and SOA records instantly.
DNS caching is the temporary storage of DNS lookup results to reduce query latency and authoritative nameserver load. Every DNS record has a TTL (Time to Live) value — a number of seconds that instructs resolvers how long they may cache that record's answer before they must re-query the authoritative nameserver for a fresh result.
DNS caching occurs at multiple independent layers between your device and the authoritative nameserver. Understanding each layer helps you troubleshoot propagation delays and cache-related issues.
chrome://net-internals/#dns. Firefox caches DNS within its network layer and clears when you restart the browser with cache cleared.The TTL value on a DNS record is the maximum time, in seconds, that a resolver is permitted to cache that record. Common TTL values:
The recommended practice for planned DNS changes is to lower your TTL to 300 seconds at least 48 hours before the change, make the change, verify it has propagated, then optionally raise the TTL back to a higher value for efficiency.
If you change a DNS record without lowering the TTL first, every resolver that recently cached the old record will serve the old value until the original TTL expires. For a record with TTL 86400 (24 hours), this means some users see the old value for up to 24 hours after your change. The correct procedure for any planned migration:
While you can flush your own device's DNS cache and control the TTL on your records, you cannot force ISP resolvers to expire their caches early. Some ISPs cache DNS records beyond the published TTL — this is technically non-compliant with RFC 1035 but common in practice. If users are still seeing old DNS values after your TTL has expired on major public resolvers (Google 8.8.8.8, Cloudflare 1.1.1.1), their ISP's resolver is likely the source. There is no remedy other than waiting — most ISP resolvers refresh within 24-48 hours even if they cache beyond TTL. Corporate networks that run internal DNS resolvers may need a manual flush by an IT administrator.
When a resolver queries for a hostname that does not exist and receives an NXDOMAIN response, it caches that negative result. The caching duration for NXDOMAIN responses is controlled by the negative TTL value in the zone's SOA record, typically 1800 to 3600 seconds. If you add a new DNS record and some users still get NXDOMAIN, it may be because their resolver cached an NXDOMAIN before you added the record. Lowering the SOA negative TTL before adding new records helps prevent this. Negative caching is separate from the per-record TTL — the SOA negative TTL applies to all missing records in the zone.
These terms are often confused. DNS propagation refers to the time it takes for a change to spread from the authoritative nameserver to all recursive resolvers worldwide. The propagation window is bounded by the TTL — once all cached copies of the old record expire, propagation is complete. Cache poisoning is a different issue where a resolver stores a fraudulent record injected by an attacker — DNSSEC protects against this by adding cryptographic signatures to DNS responses. Check if your domain has DNSSEC enabled with the DNSSEC validator. See the DNS not propagating fix guide if your changes are taking longer than expected. Use the DNS propagation checker to test which global servers are still serving cached data, and Why Is DNS Not Updating After 24 Hours for a full troubleshooting checklist.