SESK: Stuff Everyone Should Know · sesk.info/tech-dns-cache-ttl
What does a DNS record's TTL control?
It controls how long the record may be cached.
- How many labels its name has
- Which port the server uses
- How long it may stay cached ✔
Why: A DNS resource record includes a time to live measured in seconds. Once that interval expires, a cache should discard the record instead of treating it as current.
Huh, didn't know that: A shorter TTL can make changes appear sooner, but it can also cause more DNS queries.
The DNS record watched the clock because its cache time was limited.
Like this card?
References
Answer: How long it may stay cached. A DNS resource record includes a time to live measured in seconds. Once that interval expires, a cache should discard the record instead of treating it as current.
- RFC 1035: Domain Names, Implementation and Specification www.rfc-editor.org/rfc/rfc1035.html
interval (in seconds) that the resource record may be cached before it should be discarded.
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.