abbreviation TTL
Time to Live
Time to Live (TTL) is a value assigned to data packets in a network, indicating the maximum time or number of hops they can exist before being deleted. It prevents outdated or redundant information from circulating indefinitely.
TTL works by decrementing with each hop or second, depending on the protocol. In DNS, it specifies how long a record should be cached. For example, a TTL of 86,400 seconds (24 hours) means a DNS record is valid for a day before needing a fresh lookup.
For network engineers, TTL ensures efficiency and prevents stale data from causing issues. A short TTL speeds up updates but increases server load, while a long TTL reduces traffic but delays changes. A misconfigured TTL can lead to outdated DNS entries or excessive network congestion.
If a website’s DNS TTL is set to 3,600 seconds (1 hour), visitors will query the server again after that time, ensuring they get the latest IP address.
In other languages
See also: caché · Network latency