Glossary
TTL (Time To Live)
TTL is the number of seconds a DNS record may be cached before resolvers must fetch a fresh copy, controlling how fast changes propagate.
TTL (Time To Live) is a value, in seconds, attached to every DNS record that tells resolvers how long they may cache the answer before asking again.
How it affects you
- A high TTL (e.g.
86400= 24 hours) means fewer lookups and faster responses, but slower propagation of changes. - A low TTL (e.g.
300= 5 minutes) means changes spread quickly, at the cost of more query traffic.
Why it matters for hosting
TTL is the single most important setting when planning a migration. Before changing an a-record to point at a new host, lower the TTL a day or two in advance so the old value has expired everywhere. After the move stabilises, raise it again for efficiency.
Note that some resolvers ignore very low TTLs, and a separate zone-level minimum TTL governs how long negative (NXDOMAIN) answers are cached.
See also
