Your maintenance window begins at noon and the website address currently has a four-hour TTL. Changing that TTL at 11:55 leaves a resolver that fetched the answer at 11:54 free to keep the old address for hours. Work backward from when the old value was last available.

Make a timeline from the last old answer

Suppose all authoritative servers are confirmed to be returning a new TTL of 300 seconds by 08:00. An address cached just before that change under the old 14,400-second TTL can ordinarily persist until about noon. Allow a margin for verification and keep the old endpoint serving during the transition. Record the previous address and certificate configuration before moving traffic.

Illustrative runbook for an address change
TimeAction
Before 08:00Lower the TTL and check the answer from every authority.
After 12:00Once the previous TTL and verification margin have elapsed, publish the new address.
After cutoverCheck both endpoints and several resolver networks before retiring the previous service.

Inventory the other names a request uses

A website can depend on an apex address, a www alias, an API hostname and an IPv6 address. An alias and its target can have different TTLs. List the particular records that will change and leave unrelated mail and verification records alone. A move to a new DNS host also involves the parent delegation, which has its own lifetime.

Define the end of the rollback window

Keep both endpoints capable of handling requests while clients hold either answer. Check TLS, redirects, session handling and a representative application response on both. If you revert the address, clients that already cached the new value can still reach it afterward. Restore the normal TTL after traffic and application behavior have settled.

Sources & further reading

Reader questions

Where should I lower the TTL before an address move?

Change it on the service that currently answers authoritatively, then confirm the shorter value directly at every authoritative server.

Do all DNS records need the shorter lifetime?

Usually only the sets whose answers will change. Review aliases, addresses and separately cached dependencies used by the application.

Can I use the same schedule when delegating a new DNS host?

Delegation also depends on the parent NS information and any DS and glue records. Plan that change separately from the application address cutover.