Domains, delivery and craft

What is TTL?

How long a DNS record may be cached by resolvers before being fetched again, in seconds. A high TTL means changes propagate slowly; a low one means they propagate fast at the cost of slightly more lookups. It is the control that makes migrations reversible.

Also called: time to live · DNS TTL

How to use it around a change

  1. Lower the TTL to 300 seconds at least 24 hours before the switch
  2. Wait for the old, longer TTL to expire everywhere
  3. Make the change — it now propagates within about five minutes
  4. Confirm everything works from more than one network
  5. Raise the TTL back to its normal value once settled

The mistake it prevents

Switching a record with a 24-hour TTL and then discovering a problem. The revert is also cached, so the mistake persists for a day regardless of how fast you notice. Lowering it in advance turns the same error into a five-minute inconvenience.

Not every resolver obeys it

Some ISP resolvers apply their own minimums, so propagation is a distribution rather than a deadline. Plan for a tail of stragglers rather than a clean cutover, and keep the old destination serving until the tail clears.

Where this is covered in depth

A definition can only go so far. Migrating a site without losing what it took years to earn covers this properly — 3 minutes, free, no email required.

Who wrote this

Anas Bin Masud builds e-commerce sites and does technical SEO for businesses in the UK, Canada and Pakistan. These definitions come from client work rather than from a content brief — where an entry describes a mistake, it is usually one found on a real site. More about how I work.

Related terms

All 184 terms in the glossary →

Want this handled rather than explained?

Send the brief and you get a reply within one business day — either questions, or a scoping call. If your project is not something I should take on, I will say so then.

Response
Replies within 1 business day
Hours
Mon–Fri, 09:00–18:00 PKT — overlaps 05:00–14:00 UK, 00:00–09:00 US Eastern
Booking
Booking projects from October 2026
WhatsApp — opens a chat with +92 346 5348466 in a new tab