www.example.com.
- Meaning
- Name the record answers for
TTL on a DNS record sets how long resolvers may cache it. Cloudflare's limits, the speed versus change trade-off, how it differs from max-age, and a dig check.
TTL (time to live) on a DNS record is the number of seconds resolvers may cache that record before asking again. A longer TTL means faster repeat lookups but slower propagation of changes, and a shorter TTL does the opposite. HTTP caching has its own lifetime, Cache-Control max-age, which is a different setting.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
www.example.com.300INA203.0.113.10www.example.com. 300 IN A 203.0.113.10
; ^ TTL in secondsQuery your nameserver directly to see the configured value rather than a decremented cached one.
Query a public resolver to see whether it already returns the new value.
A DNS change does not send a 301. See 301 redirect for moving URLs.
# The number after the name is the remaining TTL in seconds
dig +noall +answer www.example.com A
# www.example.com. 287 IN A 203.0.113.10
# Ask again after a few seconds: a cached answer counts down
dig +noall +answer www.example.com A @1.1.1.12 questions people ask next, answered from the sources on this page.
There is no single value. Cloudflare's Auto setting is 300 seconds, and DNS-only records can be set from 60 seconds to 1 day. Pick shorter when you expect changes and longer for stable records.
No. DNS TTL caches a DNS record at resolvers. max-age sets how long an HTTP response stays fresh in browser and CDN caches. Both are in seconds but control different caches.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.