What is TTL in DNS?
Time to live controls how long a DNS answer is cached. What values mean, sensible defaults, and how to use TTL to plan changes.
On this page
TTL — time to live — is a number of seconds attached to every DNS record. It tells resolvers how long they may cache the answer before asking again.
Common values
| TTL | Duration | Typical use |
|---|---|---|
| 300 | 5 minutes | Just before and during a planned change |
| 3600 | 1 hour | Records that change occasionally |
| 14400 | 4 hours | A common hosting default |
| 86400 | 24 hours | Records that almost never change |
The trade-off
- Low TTL: changes are seen quickly, but resolvers ask more often.
- High TTL: fewer lookups and slightly faster repeat visits, but mistakes take longer to undo.
For a small site, the difference in load or speed is negligible. What matters is how fast you’ll need changes to take effect.
Using TTL to plan a change
TTL affects the next change, not the current one: a resolver that already cached a record for 24 hours keeps it for 24 hours.
- A day or more before a move, lower the TTL of the records you’ll change to 300.
- Wait for the old TTL to pass.
- Make the change. It’s seen within about five minutes.
- Once everything’s confirmed, raise the TTL again.
Nameserver changes are different
TTLs for the nameserver records themselves are set by the domain’s registry, not by you, which is why nameserver switches can take longer than record edits. Why DNS changes take time (DNS propagation)
Prefer to follow along?
- Move a website and email to Traxio with no downtime
Advanced · 120 min
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- DNS changes not workingYou changed a DNS record and nothing happened. How to tell whether it’s caching, the wrong DNS provider, a naming mistake or a conflicting record.
- Domain not resolving: “This site can’t be reached”Fix DNS_PROBE_FINISHED_NXDOMAIN and ‘server not found’: check the domain is registered, nameservers are set, records exist and DNSSEC isn’t broken.
- Email stopped working after changing nameserversWhy mail stops when you move a domain’s DNS, and how to restore Microsoft 365, Google Workspace or old-host email records at Traxio.
Common questions
What does TTL mean in DNS?
TTL — time to live — is how many seconds other servers are allowed to cache a DNS record before checking it again. A TTL of 3600 means up to an hour of stale answers after you change something.
This is a general web-hosting explanation, not specific to Traxio.
Spotted something out of date or unclear? Tell us and we’ll fix it.