IP & Domain Tools

DNS TTL Change Planner

Work out when to lower the TTL and how long the cutover will take.

Your numbers

Your results

Lower the TTL at least this long before cutover
Lower the TTL at least this long before cutover
—
Worst-case stale time if you do not lower it
—
Worst-case stale time after lowering
—
Worst-case wait for a brand-new record (negative cache)
—
Reduction in cutover window
—

DNS TTL Change Planner by TheCalcTools

How the DNS TTL Change Planner works

Lower the TTL on the record at least one full old-TTL period before the change, so every resolver has fetched the short TTL.

Make the change. Stale answers can last up to the short TTL.

Raise the TTL again afterwards to cut query load.

The formula

Lead time ≥ old TTLStale window ≤ TTL in effect when resolvers last cached

Worked example

Using the default values shown in the calculator:

Current TTL (seconds)86400
Temporary low TTL (seconds)300
SOA negative-caching TTL (seconds)3600
  1. With a 24-hour TTL, lower it at least 24h 0m 0.0s before the switch.
  2. After lowering to 5 minutes, stale answers last at most 0h 5m 0.0s, a 99.7% cut.

Result:

Lower the TTL at least this long before cutover24h 0m 0.0s
Worst-case stale time if you do not lower it24h 0m 0.0s
Worst-case stale time after lowering0h 5m 0.0s
Worst-case wait for a brand-new record (negative cache)1h 0m 0.0s
Reduction in cutover window99.7%

Frequently asked questions

Do all resolvers obey TTL?

Most do, but some ISPs and apps enforce minimums or cache longer, so keep the old service running during the window.

What is negative caching?

Resolvers cache an NXDOMAIN answer for the SOA minimum, so a newly created record may be invisible to them for that long.

Sources and further reading

More in IP & Domain Tools · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.