{"id":8360,"date":"2023-01-09T11:00:50","date_gmt":"2023-01-09T03:00:50","guid":{"rendered":"https:\/\/www.cldy.com\/support\/?post_type=docs&#038;p=8360"},"modified":"2023-01-09T14:21:36","modified_gmt":"2023-01-09T06:21:36","password":"","slug":"best-practices-for-setting-your-ttl","status":"publish","type":"docs","link":"https:\/\/www.cldy.com\/support\/help\/best-practices-for-setting-your-ttl\/","title":{"rendered":"Best Practices for Setting Your TTL"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">No doubt, Internet speeds are getting faster day by day. But even with high-speed internet connections, you might still experience some lag between the request and completion of a web page loading. This is usually caused due to flash traffic or large files being transmitted over the web.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Proper TTL configuration must be set depending on your DNS settings. To do so, let\u2019s take a look first at what TTL is.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>What is TTL?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">TTL stands for &#8220;Time to Live&#8221;. It refers to the specific time that a data packet can be retained in a computer or network before it gets discarded by a router.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The data is divided into chunks and sent out as separate packets. Each packet should have its own TTL value so that it can reach its destination quickly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The idea behind TTL is to make sure that packets don\u2019t get lost or rerouted without any information about where they came from or where they are going next. This ensures that packets are always routed correctly so they can reach their destination at their intended time and place without causing any delays or problems along the way.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Best Practices for TTL Settings and Configuration<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">When should you set a higher TTL value?<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">The recommended TTL value should be set at 24 hours (86400 seconds).\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">A higher TTL value means you expect a stable response from your domain.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">There is less to no latency expected, and authoritative name servers will be queried less by frequently caching name servers.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">When should you set a lower TTL value?<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Any changes to your DNS record(s) must also have an equivalent update to the TTL settings.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Update your TTL settings at least 24 hours before making any DNS changes. Set the TTL value to 5 minutes (300 seconds).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Once the changes have been applied, set it back to the recommended TTL value of 24 hours (86400 seconds).<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">A lower TTL value means cached records will expire more quickly and queries will be made more frequently.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><i><span style=\"font-weight: 400;\">Note: For DNS records used for failover, keep the TTL to 5 minutes (300 seconds).<\/span><\/i><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><b>How to Change TTL Settings via cPanel:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">1. Log in to your cPanel dashboard.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">2. Under <\/span><b>Domains<\/b><span style=\"font-weight: 400;\">, click on <\/span><b>Zone Editor.<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-8362\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-zone-editor-1024x150.png\" alt=\"cpanel domains zone editor\" width=\"800\" height=\"117\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-zone-editor-1024x150.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-zone-editor-300x44.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-zone-editor-768x113.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-zone-editor.png 1105w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">3. Select the domain that the DNS record is under, and click on <\/span><b>Manage<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-8361\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-manage.png\" alt=\"cpanel domains manage\" width=\"905\" height=\"280\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-manage.png 905w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-manage-300x93.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-domains-manage-768x238.png 768w\" sizes=\"(max-width: 905px) 100vw, 905px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">4. <\/span><span style=\"font-weight: 400;\">A list of your DNS records will now appear. Find the DNS record you will be updating and click on <\/span><b>Edit<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-8364\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-select-dns-edit-1024x77.png\" alt=\"cpanel select dns edit\" width=\"800\" height=\"60\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-select-dns-edit-1024x77.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-select-dns-edit-300x22.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-select-dns-edit-768x57.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-select-dns-edit.png 1217w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">5. Take note that if you will be making changes to a DNS record, you must set the TTL value to 5 minutes (300 seconds). Do this at least 24 hours before applying the changes.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-8363\" src=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-edit-ttl-value-save-record-1024x40.png\" alt=\"cpanel edit ttl value save record\" width=\"800\" height=\"31\" srcset=\"https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-edit-ttl-value-save-record-1024x40.png 1024w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-edit-ttl-value-save-record-300x12.png 300w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-edit-ttl-value-save-record-768x30.png 768w, https:\/\/www.cldy.com\/support\/wp-content\/uploads\/sites\/12\/2023\/01\/cpanel-edit-ttl-value-save-record.png 1282w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>No doubt, Internet speeds are getting faster day by day. But even with high-speed internet connections, you might still experience some lag between the request and completion of a web page loading. This is usually caused due to flash traffic or large files being transmitted over the web. Proper TTL configuration must be set depending [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[33],"doc_tag":[],"class_list":["post-8360","docs","type-docs","status-publish","hentry","doc_category-domain"],"year_month":"2026-06","word_count":433,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"syd123","author_nicename":"syd123","author_url":"https:\/\/www.cldy.com\/support\/author\/syd123\/"},"doc_category_info":[{"term_name":"Domain","term_url":"https:\/\/www.cldy.com\/support\/help-category\/domain\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/8360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/comments?post=8360"}],"version-history":[{"count":1,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/8360\/revisions"}],"predecessor-version":[{"id":8365,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/docs\/8360\/revisions\/8365"}],"wp:attachment":[{"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/media?parent=8360"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_category?post=8360"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cldy.com\/support\/wp-json\/wp\/v2\/doc_tag?post=8360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}