Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Understanding TTL and DNS Propagation Time
This guide describes the meaning of TTL, which stands for "Time To Live," as well as the principle of DNS propagation delays, concepts that are important in the operation of domain name-related services.
Introduction
- The TTL determines how long DNS information is cached before being updated.
- This directly influences the speed at which DNS changes are propagated across servers worldwide.
- Although reducing the TTL can speed up propagation, the behavior of ISPs and their caches can introduce additional delays.
The TTL (Time to Live)
TTL (Time to Live) is a key parameter in DNS record management. It represents the duration, expressed in seconds, for which DNS information can be stored in the cache before being refreshed. When a DNS server or an Internet Service Provider (ISP) queries a DNS zone, it temporarily stores the responses obtained to reduce the load on the servers and speed up navigation for users.
For example, if the TTL is set to 24 hours (86400 seconds), the DNS information for a domain will be cached and will not be refreshed during this entire period, even if you have modified settings such as the domain's IP address. This means that DNS changes will only take effect once this period has elapsed.
You can speed up the application of changes by reducing the TTL before proceeding with updates. For example, lowering the TTL to one hour (3600 seconds) allows DNS servers to check the new information more quickly after a modification.
DNS propagation
The TTL is directly related to the DNS propagation process. DNS propagation refers to the time it takes for changes made to a DNS zone to be disseminated to all DNS servers worldwide. This delay depends not only on the configured TTL but also on how ISPs and other DNS servers manage their caches.
When you modify DNS records, DNS servers and ISPs must wait for the TTL to expire before retrieving the new information. Therefore, the shorter the TTL, the faster the changes propagate across the network. However, some ISPs sometimes ignore the TTL duration and retain the information in the cache for a longer period (e.g., 24 hours or more), which can slow down the propagation of DNS changes, even if you have configured a reduced TTL.
Link to this FAQ: https://faq.infomaniak.com/2563
Has this FAQ been helpful?