DNS TTL Explained: How Long a DNS Answer Can Be Cached
Why might a DNS change not appear immediately everywhere? Resolvers can reuse cached answers according to their time to live.
1:47 · No narration: the video shows each step as text on screen, and every step is written out below, with buttons that jump the video to it.
Prefer YouTube? Watch this video on our YouTube channel (opens in a new tab).
The six points in the video
This is a silent video. The headings, explanations and labels below reproduce the information on screen.
-
Step 1: TTL means time to live
For DNS, it describes the cache lifetime associated with a record.
On-screen labels: DNS record; Cached answer; Cache lifetime.
-
Step 2: Caching avoids repeat lookups
A resolver can reuse an answer while its cache rules allow it.
On-screen labels: Stored answer; Repeat request; Reuse period.
-
Step 3: Record changes need context
A resolver may still hold an earlier answer after the source changes.
On-screen labels: Updated source record; Earlier cached value; Remaining lifetime.
-
Step 4: Lowering it is not retroactive
A shorter new TTL does not instantly remove previously cached answers.
On-screen labels: Previous TTL; Existing caches; Planned timing.
-
Step 5: Use the provider settings
Available values and special handling can differ by record and provider.
On-screen labels: Record type; Provider limits; Supported setting.
-
Step 6: Verify the actual result
Check authoritative records and relevant resolver answers during a change.
On-screen labels: Authoritative answer; Cached resolver answer; Working service.
A practical check for your business
Read the TTL attached to the record being changed and allow for existing cached answers. A lower setting does not instantly remove copies already held elsewhere.
Sources and further detail
Common questions
Why might a DNS change not appear immediately everywhere?
Resolvers can reuse cached answers according to their time to live. Plan changes around the existing records and their cache lifetimes.
Go further
More video tips
All 205 videos →
DNS Propagation Explained: Why Different Lookups Can Show Different Answers
Understand the update journey.
IP Addresses Explained: Network Addresses Behind Website Names
IP addresses, explained.