Skip to content

TTL in DNS

The DNS TTL limits normal caching of an answer. A shorter new TTL does not retroactively shorten the validity of old answers already cached.

Also known asDNS TTLTime to Live in DNS
Cloud & Operations

What does TTL mean in DNS?

TTL stands for Time to Live. In DNS, the value describes how long a resource record may normally be cached before its source should be consulted again. RFC9499 explains this cache lifetime and notes that a cache may also remove records earlier. The TTL is not an uptime guarantee for a service.

Example: preparing a portal move

A fictional team wants to change its portal's DNS address. Appropriately shortening the TTL in advance can limit the usual continued use of old answers. If the TTL is reduced only when the address changes, previously stored answers may remain cached according to their old value.

The team therefore plans the change, checks the data actually published and accounts for old answers still in use. A new address is not automatically used immediately by every client.

The TTL controls neither user login nor retention periods for portal files. The new server's reachability must also be checked independently.

Sources

Articles on this topic

Cloud & Operations with ASES

Hosting, deployment, maintenance and support