{"id":20738,"date":"2026-10-21T16:04:18","date_gmt":"2026-10-21T12:04:18","guid":{"rendered":"https:\/\/blog.temok.com\/?p=20738"},"modified":"2026-11-12T10:00:13","modified_gmt":"2026-11-12T06:00:13","slug":"what-is-ttl-in-dns","status":"publish","type":"post","link":"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/","title":{"rendered":"What is TTL in DNS? How It Affects Caching And Propagation"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 10<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span><blockquote><p>TTL (Time to Live) in DNS tells the resolvers how much time a response from DNS can take to stay cached before asking for fresh information. It is normally measured in seconds.<\/p><\/blockquote>\n<p>Imagine you have recently updated a DNS record and yet some of the visitors are still landing on the old server. Isn&#8217;t it frustrating, right? The main cause is generally only a number which most of the individuals never check and analyze. This is where understanding what is TTL in DNS becomes more important than ever.<\/p>\n<p>Once you understand this simple TTL meaning in DNS, knowing DNS changes will become much easier to execute and configure. This blog covers exactly what you are looking for because it explains what is DNS TTL, how it works, how it affects caching and propagation, and much more. So, keep reading and exploring to learn more amazing insights about Time to Live DNS.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Key_Takeaways\" >Key Takeaways<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#What_is_TTL_in_DNS\" >What is TTL in DNS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#How_Does_DNS_TTL_Work\" >How Does DNS TTL Work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Why_is_DNS_TTL_Important\" >Why is DNS TTL Important?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Low_TTL_vs_High_TTL_Whats_the_Difference\" >Low TTL vs High TTL: What&#8217;s the Difference?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Common_DNS_TTL_Values_Explained\" >Common DNS TTL Values Explained<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#What_is_the_Best_TTL_For_DNS\" >What is the Best TTL For DNS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Does_TTL_Affect_DNS_Propagation\" >Does TTL Affect DNS Propagation?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#How_To_Change_TTL_Before_a_DNS_Migration\" >How To Change TTL Before a DNS Migration?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#TTL_For_Different_DNS_Record_Types\" >TTL For Different DNS Record Types<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#How_To_Check_DNS_TTL\" >How To Check DNS TTL?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#DNS_TTL_Best_Practices\" >DNS TTL Best Practices<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Frequently_Asked_Questions_FAQs\" >Frequently Asked Questions (FAQs)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.temok.com\/blog\/what-is-ttl-in-dns\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Key_Takeaways\"><\/span><strong>Key Takeaways<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<blockquote>\n<ul>\n<li>DNS TTL tells the DNS resolvers how much time a DNS response may take to stay cached. It is measured in seconds.<\/li>\n<li>A low TTL DNS takes less time to refresh, while a high TTL DNS takes a lot of time and also reduces queries.<\/li>\n<li>TTL impacts how long old responses stay active after a change. It is not a universal propagation timer.<\/li>\n<li>DNS providers may restrict configurable TTL values. Check the limits for your service and plan.<\/li>\n<\/ul>\n<\/blockquote>\n<h2><span class=\"ez-toc-section\" id=\"What_is_TTL_in_DNS\"><\/span><strong>What is TTL in DNS?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A TTL is an acronym for Time-to-Live. A TTL in DNS represents a value that is measured in seconds and controls how long a DNS resolver can keep a cached response. After that TTL time, the resolver must then ask for updated information.<\/p>\n<p>When the TTL expires, the record itself is not destroyed. Instead, the resolver&#8217;s cached copy has reached the end of its authorized duration. The resolver can then request new <a title=\"DNS cache\" href=\"https:\/\/www.temok.com\/blog\/how-to-clear-dns-cache\/\" target=\"_blank\" rel=\"noopener\">DNS cache<\/a> information.<\/p>\n<p>For example, a packet of chips has an expiry date printed on it. However, the date does not destroy the chips in it. Instead, it just tells you when you need to check again before eating. Thus, TTL expiration does not delete the whole DNS record. Understanding what is TTL in DNS becomes important in that case.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Does_DNS_TTL_Work\"><\/span><strong>How Does DNS TTL Work?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>DNS TTL works as a countdown to cached DNS information. A resolver can utilize a cached answer as long as its TTL is valid. Once that period has passed, it needs to collect new information.<\/p>\n<p>The basic DNS TTL working process looks like this:<\/p>\n<ol>\n<li>A user requests a domain.<\/li>\n<li>The recursive resolver examines its cache.<\/li>\n<li>If the cached record is still valid, it will return the cached response.<\/li>\n<li>The remaining TTL decreases with time from when the answer was cached.<\/li>\n<li>When the TTL expires, the cached answer normally requires refreshing.<\/li>\n<li>The resolver requests updated information when needed. If refreshing fails, serve-stale behavior may apply.<\/li>\n<\/ol>\n<p>This basic approach allows DNS to manage a high number of requests without each query reaching the authoritative <a title=\"DNS server\" href=\"https:\/\/www.temok.com\/blog\/how-to-fix-dns-server-not-responding\/\" target=\"_blank\" rel=\"noopener\">DNS server<\/a>.<\/p>\n<h3><strong>What Happens When the TTL Expires?<\/strong><\/h3>\n<p>When a cached answer\u2019s TTL expires, the resolver normally attempts to refresh it when needed. Some resolvers can temporarily serve expired answers if refreshing fails, depending on their configuration. Expiry does not delete the record from the authoritative DNS server.<\/p>\n<p>Moreover, not all resolvers refresh\u00a0at the same time. For example, a resolver that cached a record 10 minutes ago might have a different remaining TTL than one that cached the exact same record 50 minutes before.<\/p>\n<p>To better understand what TTL is in DNS, you must know how exactly DNS TTL caching works.<\/p>\n<h3><strong>How Does DNS TTL Caching Work?<\/strong><\/h3>\n<p>DNS TTL caching works by saving the answers temporarily so the resolvers may use them again over and over. This minimizes the number of repeated DNS requests and can improve lookup efficiency.<\/p>\n<p>For example, if a lot of people request the same domain through a\u00a0resolver, the resolver may respond from its cache while the record is valid.<\/p>\n<p>As a consequence, the Time to Live DNS value achieves the right balance between keeping information current and preventing needless DNS lookups.<\/p>\n<p>After understanding what is TTL in DNS and how does it work, let\u2019s discuss its importance.<\/p>\n<p>Also Read: <a title=\"What is Private DNS: Easy Configuration For Phones And Laptops\" href=\"https:\/\/www.temok.com\/blog\/what-is-private-dns\/\" target=\"_blank\" rel=\"noopener\">What is Private DNS: Easy Configuration For Phones And Laptops<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Why_is_DNS_TTL_Important\"><\/span><strong>Why is DNS TTL Important?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>DNS TTL is important because TTL creates a clear tradeoff between efficiency and freshness. Understanding the tradeoff is critical for both <a title=\"domain owners\" href=\"https:\/\/www.temok.com\/blog\/how-to-find-domain-name-owner\/\" target=\"_blank\" rel=\"noopener\">domain owners<\/a> and network managers. It is also important because it affects how fast changes are identified, how frequently resolvers generate new queries, and how efficiently the DNS info is cached.<\/p>\n<p>TTL in DNS is important because it can affect:<\/p>\n<ul>\n<li><strong>Cache Efficiency: <\/strong>Query caching decreases the amount of requests made to trusted DNS servers by enabling intermediate DNS servers to remember replies for a certain period of time; the TTL determines how long that period is.<\/li>\n<\/ul>\n<ul>\n<li><strong>Record Changes:<\/strong> Shorter Time-to-Lives can assist in making sure that the updated information quickly becomes available.<\/li>\n<\/ul>\n<ul>\n<li><strong>Performance Improvement:<\/strong> By caching DNS records, TTL decreases latency for end users, resulting in quicker website loading times.<\/li>\n<\/ul>\n<ul>\n<li><strong>DNS Query Volume:<\/strong> A short TTL can cause resolvers to ask for fresh data more frequently.<\/li>\n<\/ul>\n<ul>\n<li><strong>Load Reduction:<\/strong> Reduces the demand on authoritative DNS servers by minimizing the number of other repeated inquiries.<\/li>\n<\/ul>\n<ul>\n<li><strong>Infrastructure migrations:<\/strong> Lower TTLs can make a scheduled <a title=\"server migration\" href=\"https:\/\/www.temok.com\/blog\/server-migration\/\" target=\"_blank\" rel=\"noopener\">server migration<\/a> more manageable.<\/li>\n<\/ul>\n<ul>\n<li><strong>Failover plans:<\/strong> Shorter TTLs might help when traffic has to be routed to another destination.<\/li>\n<\/ul>\n<p><strong>The fundamental concept is straightforward:<\/strong> TTL is a trade-off between freshness and caching efficiency. There is no single option that is appropriate for all records. Therefore, understanding what is TTL in DNS deeply is a must for individuals.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Low_TTL_vs_High_TTL_Whats_the_Difference\"><\/span><strong>Low TTL vs High TTL: What&#8217;s the Difference?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A low TTL value makes the cached information expire sooner, while a high TTL value keeps the same information cached for a longer period.<\/p>\n<p>To better understand the difference between low TTL and high TTL, examine the table below:<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 217px;\">\n<tbody>\n<tr style=\"height: 37px;\">\n<th style=\"border: 1px solid #000000; background-color: #ff6d5a; padding: 8px; text-align: center; font-weight: bold; width: 27.0693%; height: 40px;\">Factor<\/th>\n<th style=\"border: 1px solid #000000; background-color: #ff6d5a; padding: 8px; text-align: center; font-weight: bold; width: 30.2013%; height: 40px;\">Low TTL<\/th>\n<th style=\"border: 1px solid #000000; background-color: #ff6d5a; padding: 8px; text-align: center; font-weight: bold; width: 22.9307%; height: 40px;\">High TTL<\/th>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 37px;\"><strong>DNS Changes<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 30.2013%; height: 37px;\">Refreshed sooner<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 22.9307%; height: 37px;\">Cached longer<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>DNS Queries<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 30.2013%; height: 35px;\">More frequent<\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 22.9307%; height: 35px;\">Less frequent<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>Cache Efficiency<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 30.2013%; height: 35px;\">Lower<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 22.9307%; height: 35px;\">Higher<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>Failover Flexibility<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 30.2013%; height: 35px;\">Greater<\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 22.9307%; height: 35px;\">Lower<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>Suitable For<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 30.2013%; height: 35px;\">Changes, migrations, failover<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 22.9307%; height: 35px;\">Stable records<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>So, neither a lower TTL nor a higher TTL is a better option in every case. Low TTL values offer more flexibility, while high TTL values favor more efficiency.<\/p>\n<h3><strong>When Should You Use a Low TTL?<\/strong><\/h3>\n<p>You should use a low TTL when you are expecting a DNS record to update or you need more flexibility during a <a title=\"DNS infrastructure\" href=\"https:\/\/www.temok.com\/blog\/dns-infrastructure\/\" target=\"_blank\" rel=\"noopener\">DNS infrastructure<\/a> change.<\/p>\n<p>Moreover, you should choose TTL:<\/p>\n<ul>\n<li>Before planned DNS changes<\/li>\n<li>During a server migration<\/li>\n<li>On failover-sensitive records<\/li>\n<li>On endpoints that change often<\/li>\n<\/ul>\n<h3><strong>When Should You Use a High TTL?<\/strong><\/h3>\n<p>You should use a high TTL when the records rarely change. Since DNS resolvers can keep the response longer, they don&#8217;t need to request fresh information as often.<\/p>\n<p>Moreover, you may choose TTL:<\/p>\n<ul>\n<li>For stable infrastructure<\/li>\n<li>For records that rarely change<\/li>\n<li>When efficient caching is the priority<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Common_DNS_TTL_Values_Explained\"><\/span><strong>Common DNS TTL Values Explained<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The table below shows example TTL values. Your DNS provider may restrict the values you can configure, and supported limits can vary by service or plan.<\/p>\n<p>To better understand what is TTL in DNS settings, look at the table below:<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 287px;\">\n<tbody>\n<tr style=\"height: 37px;\">\n<th style=\"border: 1px solid #000000; background-color: #ff6d5a; padding: 8px; text-align: center; font-weight: bold; width: 27.0693%; height: 40px;\">TTL<\/th>\n<th style=\"border: 1px solid #000000; background-color: #ff6d5a; padding: 8px; text-align: center; font-weight: bold; width: 26.1745%; height: 40px;\">Time Equivalent<\/th>\n<th style=\"border: 1px solid #000000; background-color: #ff6d5a; padding: 8px; text-align: center; font-weight: bold; width: 26.9575%; height: 40px;\">Typical Interpretation<\/th>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 37px;\"><strong>60<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.1745%; height: 37px;\">1 minute<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.9575%; height: 37px;\">Very short<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>300<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 26.1745%; height: 35px;\">5 minutes<\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 26.9575%; height: 35px;\">Short<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>1800<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.1745%; height: 35px;\">30 minutes<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.9575%; height: 35px;\">Moderate<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>3600<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 26.1745%; height: 35px;\">1 hour<\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 26.9575%; height: 35px;\">Common general-purpose value<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>14400<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.1745%; height: 35px;\">4 hours<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.9575%; height: 35px;\">Longer caching<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>86400<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 26.1745%; height: 35px;\">24 hours<\/td>\n<td style=\"border: 1px solid #000000; background-color: #9fafcb; padding: 8px; text-align: center; width: 26.9575%; height: 35px;\">Long caching<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 27.0693%; height: 35px;\"><strong>604800<\/strong><\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.1745%; height: 35px;\">7 days<\/td>\n<td style=\"border: 1px solid #000000; background-color: #ffffff; padding: 8px; text-align: center; width: 26.9575%; height: 35px;\">Very Long and Uncommon<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>A TTL of 300 seconds allows newly cached answers to expire after five minutes. Lowering it does not shorten the lifetime of answers already cached with a higher TTL. DNS TTL 3600 (1 hour) is a popular everyday option that balances freshness and <a title=\"site caching\" href=\"https:\/\/www.temok.com\/blog\/err_cache_miss\/\" target=\"_blank\" rel=\"noopener\">site caching<\/a>. However, neither is &#8220;the best.&#8221; The appropriate value depends on how frequently your records update.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_is_the_Best_TTL_For_DNS\"><\/span><strong>What is the Best TTL For DNS?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There is no single &#8220;best&#8221; TTL for DNS for every DNS record or <a title=\"domain name\" href=\"https:\/\/www.temok.com\/domain-registrations\" target=\"_blank\" rel=\"noopener\">domain name<\/a>. The right TTL value for DNS totally depends on how often the DNS record changes and how fast you need that cached information to expire and fresh updates to appear.<\/p>\n<p>Moreover, consider the following factors for choosing the best TTL for DNS:<\/p>\n<ul>\n<li>How often the record changes?<\/li>\n<li>Whether you need rapid failover<\/li>\n<li>Whether a migration is planned<\/li>\n<li>How stable your infrastructure is?<\/li>\n<li>Your query and caching needs<\/li>\n<\/ul>\n<p>Longer TTLs for stable records can help to reduce duplicate inquiries. Shorter TTLs can help manage changes in records that are likely to change shortly. Meanwhile, DNS TTL settings should be checked whenever infrastructure changes.<\/p>\n<p>Therefore, it is necessary to first understand what TTL in DNS is and what is best.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Does_TTL_Affect_DNS_Propagation\"><\/span><strong>Does TTL Affect DNS Propagation?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Yes, TTL controls how long an older DNS response can remain in a recursive resolver&#8217;s cache after a record changes. However, cache expiration is a more practical concept than a single global <a title=\"DNS propagation\" href=\"https:\/\/www.temok.com\/blog\/what-is-dns-propagation\/\" target=\"_blank\" rel=\"noopener\">DNS propagation<\/a> timeframe.<\/p>\n<p>DNS updates do not propagate over the internet on a set timer. Instead, each resolver that cached the previous response continues to use it until its remaining TTL expires. That is why DNS TTL propagation differs amongst resolvers.<\/p>\n<p>For example, assume an A record has a TTL of 3600 seconds. A resolver that cached it 10 minutes ago may continue to provide the previous response for around 50 minutes. Furthermore, some resolvers set their own minimum and maximum restrictions, thus actual behavior may differ.<\/p>\n<p>This is why one network may display a fresh DNS record while another maintains the old one. DNS TTL propagation is thus best understood as the result of cached DNS answers expiring at varying intervals.<\/p>\n<p>After learning what TTL in DNS is more deeply, it has become more important for you to understand how you can change the TTL before a DNS migration.<\/p>\n<p>Also Read: <a title=\"Best DNS For Gaming: 8 Fast And Reliable Servers in 2026\" href=\"https:\/\/www.temok.com\/blog\/best-dns-for-gaming\/\" target=\"_blank\" rel=\"noopener\">Best DNS For Gaming: 8 Fast And Reliable Servers in 2026<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_To_Change_TTL_Before_a_DNS_Migration\"><\/span><strong>How To Change TTL Before a DNS Migration?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-20751\" src=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/How-To-Change-TTL-Before-a-DNS-Migration.webp?resize=750%2C500&#038;ssl=1\" alt=\"How To Change TTL Before a DNS Migration\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/How-To-Change-TTL-Before-a-DNS-Migration.webp?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/How-To-Change-TTL-Before-a-DNS-Migration.webp?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/How-To-Change-TTL-Before-a-DNS-Migration.webp?resize=24%2C16&amp;ssl=1 24w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/How-To-Change-TTL-Before-a-DNS-Migration.webp?resize=36%2C24&amp;ssl=1 36w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/How-To-Change-TTL-Before-a-DNS-Migration.webp?resize=48%2C32&amp;ssl=1 48w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The safest option to change TTL before a DNS migration is to lower the TTL, wait for the previous extended cache duration to expire, update the DNS, and then raise the TTL once everything is operating well.<\/p>\n<h3><strong>Before the Migration<\/strong><\/h3>\n<p>Before the DNS migration, lower the TTL while the old DNS records are still in an active state.<\/p>\n<p>For example, if your current TTL is 14400, or 4 hours, changing it to 300 seconds (5 minutes) ahead of migration can give newly cached information a much shorter lifetime. Moreover, you should do it before changing the server IP or other critical DNS information.<\/p>\n<h3><strong>During the Migration<\/strong><\/h3>\n<p>Once enough time has passed for resolvers with the previous higher TTL to expire, refresh the DNS record. Then, verify the <a title=\"new server\" href=\"https:\/\/www.temok.com\/gpu-servers\" target=\"_blank\" rel=\"noopener\">new server<\/a> to ensure that the domain is reaching the intended destination.<\/p>\n<h3><strong>After the Migration<\/strong><\/h3>\n<p>When the new configuration is stable, return the TTL to its regular value. As a consequence, you may recover your caching performance.<\/p>\n<blockquote><p><strong><em>Important: <\/em><\/strong><em>Reducing the TTL from 86400 to 300 at the same time as changing the server IP does not cause resolvers to refresh. Resolvers that already have the previous 86400-second response will maintain it till the timeout runs out.<\/em><\/p><\/blockquote>\n<h2><span class=\"ez-toc-section\" id=\"TTL_For_Different_DNS_Record_Types\"><\/span><strong>TTL For Different DNS Record Types<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>TTL applies to all record types, although the appropriate value depends on what each record performs.<\/p>\n<p>Here is what is TTL in DNS for different record types:<\/p>\n<h3><strong>A or AAAA Record<\/strong><\/h3>\n<p>As IP address lookups change often, your A records should have a faster TTL. A standard baseline would be about one hour. However, this might be altered according to how frequently adjustments need to be made in an emergency (30 seconds is not unreasonable).<\/p>\n<h3><strong>CNAME Record<\/strong><\/h3>\n<p>Choose a CNAME record\u2019s TTL based on how quickly you may need to change its target and how much caching you want. Before a planned change, lower the TTL early enough for previously cached answers to expire.<\/p>\n<h3><strong>MX Record<\/strong><\/h3>\n<p><a title=\"MX records\" href=\"https:\/\/www.temok.com\/blog\/what-is-an-mx-record\/\" target=\"_blank\" rel=\"noopener\">MX records<\/a> specify where emails should be delivered. Mail infrastructure is frequently reliable; therefore, using excessively low TTLs may result in more DNS requests with no value.<\/p>\n<h3><strong>TXT Record<\/strong><\/h3>\n<p>It is most popular and in use for DKIM records, email security, and domain ownership verification. TXT records are very rarely modified. Thus, any time between 1 and 12 hours should be enough.<\/p>\n<p>Moreover, there is no universal TTL that should be used for every record type, as it depends on what each DNS record does.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_To_Check_DNS_TTL\"><\/span><strong>How To Check DNS TTL?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You can easily check the current TTL for a DNS response with <a title=\"common command-line tools\" href=\"https:\/\/www.temok.com\/blog\/powershell-vs-cmd\/\" target=\"_blank\" rel=\"noopener\">common command-line tools<\/a> such as <u>dig<\/u> and <u>nslookup<\/u>. The number you get in the answer is the TTL.<\/p>\n<p>To check what is TTL in DNS, use the following alternatives:<\/p>\n<h3><strong>1. <\/strong><strong>Check DNS TTL with dig<\/strong><\/h3>\n<p>Run:<\/p>\n<blockquote><p><strong>dig temok.com<\/strong><\/p><\/blockquote>\n<p>or check an A record by running:<\/p>\n<blockquote><p><strong>dig A temok.com<\/strong><\/p><\/blockquote>\n<p>In the answer area, you will usually notice a number between the record name and type. That value is the remaining TTL for the response.<\/p>\n<p>For example, the answer will contain a portion that looks like this:<\/p>\n<blockquote><p><strong>temok.com.\u00a0\u00a0\u00a0 3600\u00a0\u00a0\u00a0 IN\u00a0\u00a0\u00a0 A\u00a0\u00a0\u00a0 203.0.113.10<\/strong><\/p><\/blockquote>\n<p>In this case, the TTL is 3600 seconds. It means that this record is cached for only one hour. When a resolver responds from its cache, the TTL value decreases. Querying the authoritative nameserver directly returns the specified value.<\/p>\n<h3><strong>2. <\/strong><strong>Check DNS TTL With nslookup<\/strong><\/h3>\n<p>You can also use nslookup to query a domain and retrieve its DNS record. It is very useful for quickly determining whether a resolver is delivering the expected DNS information.<\/p>\n<p>For example, open cmd on Windows and run the following command:<\/p>\n<blockquote><p><strong>nslookup -debug temok.com<\/strong><\/p><\/blockquote>\n<p>You will get a response like this:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-20747 size-large\" src=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=1024%2C526&#038;ssl=1\" alt=\"Check DNS TTL With nslookup\" width=\"1024\" height=\"526\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=1024%2C526&amp;ssl=1 1024w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=768%2C394&amp;ssl=1 768w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=24%2C12&amp;ssl=1 24w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=36%2C18&amp;ssl=1 36w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?resize=48%2C25&amp;ssl=1 48w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-With-nslookup.webp?w=1319&amp;ssl=1 1319w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h3><strong>3. <\/strong><strong>Check DNS TTL with Google DNS Checker Tool<\/strong><\/h3>\n<p>You can also check DNS TTL with Google&#8217;s <a title=\"free version of DNS checker\" href=\"https:\/\/toolbox.googleapps.com\/apps\/dig\/\" target=\"_blank\" rel=\"noopener\">free version of DNS checker<\/a> that is quite lightweight and effective. You just need to enter the domain, and it will provide its TTL for the respective DNS record. Moreover, you can also check the TTL for different records.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-20748 size-large\" src=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=1024%2C463&#038;ssl=1\" alt=\"Check DNS TTL with Google DNS Checker Tool\" width=\"1024\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=1024%2C463&amp;ssl=1 1024w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=768%2C347&amp;ssl=1 768w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=1536%2C694&amp;ssl=1 1536w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=1850%2C836&amp;ssl=1 1850w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=24%2C11&amp;ssl=1 24w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=36%2C16&amp;ssl=1 36w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?resize=48%2C22&amp;ssl=1 48w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/Check-DNS-TTL-with-Google-DNS-Checker-Tool.webp?w=1918&amp;ssl=1 1918w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"DNS_TTL_Best_Practices\"><\/span><strong>DNS TTL Best Practices<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Following a few easy DNS TTL best\u00a0practices will help you plan your DNS updates and avoid complications.<\/p>\n<p>To better understand what is TTL in DNS, follow these DNS TTL best practices:<\/p>\n<ul>\n<li>Do not utilize exceedingly short TTLs without a good cause.<\/li>\n<li>When stable records require a longer TTL, use it.<\/li>\n<li>Reduce the TTL before scheduled migrations.<\/li>\n<li>Allow the prior TTL ample time to expire before making a crucial update.<\/li>\n<li>Consider your failover requirements while selecting a TTL.<\/li>\n<li>When your infrastructure changes, you should review the TTLs.<\/li>\n<li>Avoid using the same TTL for each DNS record just for convenience.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions_FAQs\"><\/span><strong>Frequently Asked Questions (FAQs)<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><strong>What&#8217;s a good TTL for DNS?<\/strong><\/h3>\n<p>There is no single good value. The record determines the ideal TTL. Short numbers, such as 300 seconds, are good for planned modifications, but values of 3600 seconds or more are appropriate for steady records. Therefore, there is no single value for all DNS configurations.<\/p>\n<h3><strong>Is a higher or lower TTL better?<\/strong><\/h3>\n<p>Neither &#8220;higher TTL&#8221; nor &#8220;lower TTL&#8221; is better. Lowering the TTL will make updates visible more quickly but may result in more DNS lookups. A longer TTL can increase caching, but it can also result in a resolver cache having stale data for a longer period.<\/p>\n<h3><strong>What does TTL 1 hour mean?<\/strong><\/h3>\n<p>A TTL of 1 hour means that the DNS response can be cached for a maximum of 3600 seconds before its resolver asks for fresh information. So, when someone asks how long is DNS TTL, the answer will totally depend on the total number assigned to that record.<\/p>\n<h3><strong>Why is the TTL value 255?<\/strong><\/h3>\n<p>TTL 255 is often an IP packet TTL, not a DNS TTL. The IP version is an 8-bit hop limit, with a maximum of 255. DNS TTL is a distinct number in seconds.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Understanding what is TTL in DNS is much easier when you see it as a timer for cached DNS data. It does not delete any DNS record. Instead, it specifies the time for which recursive resolvers can use a DNS answer before they query for new data.<\/p>\n<p>Low TTL values can aid with migrations, endpoint changes, and failover strategies. High TTL values are suitable for stable entries and can minimize the number of DNS inquiries.<\/p>\n<p>Most importantly, prepare TTL adjustments before making any big DNS modifications. Lower the TTL early, let earlier cache periods expire, do the necessary updates, then consider increasing the TTL once the new configuration is stable. This straightforward procedure may make DNS transfers smoother and easier to handle.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 10<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span>TTL (Time to Live) in DNS tells the resolvers how much time a response from DNS can take to stay cached before asking for fresh information. It is normally measured in seconds. Imagine you have recently updated a DNS record and yet some of the visitors are still landing on the old server. Isn&#8217;t it [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":20750,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pmpro_default_level":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[7472,7483,7484,7482,7480,7476,7481,7479,7478,7486,7487,7485,7477,7473,7475,7474,7471],"class_list":["post-20738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domains","tag-dns-ttl","tag-dns-ttl-300","tag-dns-ttl-3600","tag-dns-ttl-best-practices","tag-dns-ttl-caching","tag-dns-ttl-meaning","tag-dns-ttl-propagation","tag-dns-ttl-settings","tag-dns-ttl-value","tag-high-ttl-dns","tag-how-long-is-dns-ttl","tag-low-ttl-dns","tag-time-to-live-dns","tag-ttl-in-dns","tag-ttl-meaning-in-dns","tag-what-is-dns-ttl","tag-what-is-ttl-in-dns","pmpro-has-access"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2026\/10\/What-is-TTL-in-DNS.webp?fit=750%2C500&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts\/20738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/comments?post=20738"}],"version-history":[{"count":15,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts\/20738\/revisions"}],"predecessor-version":[{"id":21036,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts\/20738\/revisions\/21036"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/media\/20750"}],"wp:attachment":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/media?parent=20738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/categories?post=20738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/tags?post=20738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}