Troubleshooting

DNS TTL and record change timing

TTL limits the intended lifetime of cached DNS data; it is not a global synchronization timer.

Updated

Read the countdown

A record published with TTL 3600 can remain in a cache for up to its remaining lifetime, subject to resolver policies. A cached answer retrieved 50 minutes earlier may have only 10 minutes left.

Plan a migration

For a domain you control, reduce TTL sufficiently in advance of a planned change. Existing cached records still retain their old TTL until refreshed; reducing TTL at the exact moment of migration does not invalidate them.

Observe instead of guessing

Query multiple allowed resolvers and compare values and TTL. Authoritative updates, delegation and local application caches also matter. A single lookup cannot certify that all global caches have updated.

A countdown example

An answer cached with a TTL of 300 seconds may have about 120 seconds remaining after three minutes. Changing the authoritative value during that interval does not necessarily invalidate the cached response. When planning an authorized migration, reduce relevant TTLs in advance rather than relying on instant updates.

Step-by-step example

Use a 300-second TTL to understand DNS change timing.

  1. 01

    Read the TTL

    A TTL of 300 means five minutes of cache lifetime as supplied or reported by the resolver. A recursive answer may report remaining rather than original lifetime.

    TTL
    300 s
    Minutes
    300 ÷ 60 = 5
    Illustration · example, not a live result
  2. 02

    Observe a planned change

    If a resolver caches the old record at 12:00 with 300 seconds, it can ordinarily keep it until about 12:05. Lowering the TTL afterward does not retroactively shorten that existing cache.

    12:00
    Old record cached
    12:05
    Ordinary expiration
    Illustration · example, not a live result
  3. 03

    Plan ahead

    If you control the domain, lower TTL sufficiently before a planned migration and keep both old and new services working as needed. Verify the authoritative record and recursive responses afterward; some resolvers apply caching policies.

    Before change
    Lower TTL in advance
    After change
    Verify + restore appropriate TTL
    Illustration · example, not a live result

Check your understanding

TTL is a cache control, not a guaranteed global propagation deadline.

Try this tool →
Working through a learning path?

Record your own progress on this browser. No account required.

Learning paths →

Try this

Compare returned TTLs at two times for an authorized domain, keeping the record type fixed.

DNS record lookup →

Technical references