You publish a new address and a colleague sees it immediately. Your laptop keeps receiving the previous address. A DNS TTL explains how a resolver reuses an answer it already has. Each resolver starts that clock when it receives the data.

Read the remaining lifetime

At 09:00 a resolver receives an A record with a TTL of 300 seconds. At 09:04 it can have roughly 60 seconds left. A second resolver which first asked at 09:03 can still have roughly four minutes left at the same point. A direct authoritative answer and a recursive answer can therefore have different TTLs and both be correct.

One record in two caches at 09:04
ResolverFetched atApproximate TTL remaining
Office09:0060 seconds
Mobile network09:03240 seconds

An absent name can be cached too

An authority can return NXDOMAIN for a missing name, or a successful response with no data of the requested type. When an appropriate SOA is included, the negative-cache lifetime is derived from the lower of the SOA record’s TTL and its MINIMUM field. A newly created AAAA record can remain invisible to a resolver that recently cached its absence.

Inspect a change from two places

Read the record directly from an authoritative server, then ask the resolver used by the affected device. If the values differ, observe the remaining lifetime and repeat the recursive query later. Some resolvers can serve expired data under failure conditions. Include authority reachability in your investigation when an old answer persists unexpectedly.

Sources & further reading

Reader questions

What does a TTL of zero mean?

The response data can be used for the transaction in progress. Standards do not give it a normal positive cache lifetime for reuse in later transactions.

Can lowering the TTL evict an older cached copy?

An existing cache entry retains the lifetime it received. The shorter value takes effect when the resolver obtains a new copy.

Are record TTLs the same as nameserver delegation TTLs?

These are separate records, often controlled by different parties. Check the parent’s delegation when you are moving authoritative DNS.