Skip to content

TTL

TTL is the time in seconds that a DNS record can remain in a resolver’s cache before being discarded and queried again from the authoritative server.

Definition

What it is

TTL (Time to Live) is a numerical field in every DNS record that specifies how many seconds a resolver can cache the response before discarding it and querying the authoritative server again [1]. A low TTL (e.g., 300 seconds) makes changes propagate quickly; a high TTL (e.g., 86400 seconds) reduces server load but delays propagation.

Why it matters

TTL is a critical management tool. Before a migration, lowering the TTL allows the change to propagate quickly. Afterwards, it can be raised to reduce queries. Too high a TTL can leave users on an old server for hours; too low a TTL increases load and latency.

How it works in practice

TTL is defined in each DNS record. NameSilo recommends a TTL of 3600 seconds (1 hour) or 86400 seconds (24 hours) for standard sites, and lowering it to 300 seconds (5 minutes) before a migration [2]. TTL is not absolute: some resolvers enforce minimums and actual propagation time may vary.

Connections

Common mistakes

  • Permanent low TTL. Increases queries and latency unnecessarily.
  • Not lowering it before a migration. Users will keep hitting the old server for hours.
  • Expecting instant propagation. Even with a low TTL, some resolvers ignore minimums.

Evidence

Etymology

Origin: acronym

Time to Live — time to live

  • T (root): Time
  • T (root): to
  • L (root): Live
Cognates
  • es: tiempo, vida
  • en: time, live

Morphology

Variants

Typographical errors

  • TTL
  • ttl

Semantic network

TTLdns-recordDNSA RecordNameserverDNS Propag

● broader ● narrower ● related

Broader

  • dns-record

Related

Antonyms

  • permanent-cache

Used in the garden

Sources