{"id":3225,"date":"2020-06-12T16:44:50","date_gmt":"2020-06-12T11:14:50","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=3225"},"modified":"2020-06-13T16:49:58","modified_gmt":"2020-06-13T11:19:58","slug":"how-to-lower-your-ttl-just-before-an-ip-change","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/","title":{"rendered":"How to lower your TTL just before an IP change"},"content":{"rendered":"\n<p>As of DA 1.37.0, a User can edit their TTL value via:<br>User Level -> DNS Management -> TTL (bottom)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Global method<\/h3>\n\n\n\n<p>This method will only work if you temporarily disable per-record TTL values by setting dns_ttl=0 in the directadmin.conf and restarting DA. You can turn it back on after you&#8217;re done. \u00a0Note that this method sets all records in all zones to the same TTL value.<br><br>Also, set your desired default TTL in the directadmin.conf and restart directadmin.<br><br>Once both dns_ttl=0 and default_ttl=300 are set, just issue the named rewrite:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/directadmin<br>echo \"action=rewrite&amp;value=named\" >> data\/task.queue; .\/dataskq d2000<\/pre>\n\n\n\n<p>Once done, you can set your dns_ttl=1 and default_ttl=14400 again, and restart directadmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As of DA 1.37.0, a User can edit their TTL value via:User Level -> DNS Management -> TTL (bottom) Global method This method will only work if you temporarily disable per-record TTL values by setting dns_ttl=0 in the directadmin.conf and restarting DA. You can turn it back on after you&#8217;re done. \u00a0Note that this method [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[273],"tags":[],"class_list":["post-3225","post","type-post","status-publish","format-standard","hentry","category-directadmin"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to lower your TTL just before an IP change | 24x7serversupport Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to lower your TTL just before an IP change | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"As of DA 1.37.0, a User can edit their TTL value via:User Level -&gt; DNS Management -&gt; TTL (bottom) Global method This method will only work if you temporarily disable per-record TTL values by setting dns_ttl=0 in the directadmin.conf and restarting DA. You can turn it back on after you&#8217;re done. \u00a0Note that this method [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-12T11:14:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-13T11:19:58+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/\",\"name\":\"How to lower your TTL just before an IP change | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2020-06-12T11:14:50+00:00\",\"dateModified\":\"2020-06-13T11:19:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to lower your TTL just before an IP change\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to lower your TTL just before an IP change | 24x7serversupport Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/","og_locale":"en_US","og_type":"article","og_title":"How to lower your TTL just before an IP change | 24x7serversupport Blog","og_description":"As of DA 1.37.0, a User can edit their TTL value via:User Level -> DNS Management -> TTL (bottom) Global method This method will only work if you temporarily disable per-record TTL values by setting dns_ttl=0 in the directadmin.conf and restarting DA. You can turn it back on after you&#8217;re done. \u00a0Note that this method [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-06-12T11:14:50+00:00","article_modified_time":"2020-06-13T11:19:58+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/","url":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/","name":"How to lower your TTL just before an IP change | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2020-06-12T11:14:50+00:00","dateModified":"2020-06-13T11:19:58+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/how-to-lower-your-ttl-just-before-an-ip-change\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to lower your TTL just before an IP change"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=3225"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3225\/revisions"}],"predecessor-version":[{"id":3226,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3225\/revisions\/3226"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=3225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=3225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=3225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}