Field Notes

What a TTL actually tells you

30 September 2026 · 4 min read

When a record says TTL 300, it is tempting to read that as “this will be cached for five minutes.” It is not. It is a statement from the authority: after five minutes, you may no longer assume this answer is current. What any given resolver or cache does with that number is a separate question.

The bound is one-sided

Caches are allowed to expire early. Many do, under memory pressure or because a resolver implements its own minimum. None of them are allowed to serve past the TTL, which makes the TTL a ceiling on staleness and nothing more.

A TTL is a promise about the worst case, not the common case.

Why this matters in an outage

You change a record, the change propagates in seconds, and a fraction of your users still see the old value. The instinct is to blame propagation. Usually propagation was fine and the remaining users are sitting behind a cache that was legally holding a stale answer the whole time.

The practical consequence: lower the TTL before the change, not during it. A record that you plan to move should already have a short TTL for at least one full old-TTL window before you touch it.

A useful habit

When you add a record, write down what the TTL means in wall-clock terms and who is likely to be holding it. “300 seconds, possibly three layers deep” is a very different operational fact from “300 seconds, one resolver.”


← Back to all writing