Set Zone TTL not working
We moved from server.
Now we checked and all the ttl's are defaulted to 3600.
We rather want them at 14400 so the Set Zone Time T Live (TTL) function in WHM -> DNS functions comes in handy.
So I select all domains, set the new TTL to 14400 and click the Set TTLs button.
It looks like it's working, TTL times are mentioned updated zones are mentioned, but when I go to DNS editor and look at the domains, they still got 3600 in there.
When I change it manually to 14400 via the Edit DNS zone, then it will stay 14400.
Is the Global changer not working?
Centos 7.4, Cpanel v68.0.37.
-
Hello, I attempted to replicate this behavior on a test server: # cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)
# cat /usr/local/cpanel/version 11.68.0.37
I used 54825 as the new TTL (not a number I would suggest anyone use other than for testing)Updating TTL in zones...- Updating 3 Domain(s)...
- (1/3) Processing 'cptest.tld'... [+] Set TTL for 'cptest.tld' to '54825'
- (2/3) Processing 'owned.tld'... [+] Set TTL for 'owned.tld' to '54825'
- (3/3) Processing 'reseller.tld'... [+] Set TTL for 'reseller.tld' to '54825'
- Reloading zones... [+] Done Updated the following zones to use '54825' as the new TTL: cptest.tld owned.tld reseller.tld
And then confirmed within WHM>>DNS Functions>>Edit DNS Zone that all TTL's were updated. You can also see this in /var/named[root@3et32q5rwfedv ~]# grep -r 54825 /var/named/ |wc -l 51
When you modified the TTLs for the domains did you ensure that you highlighted all the domains? Documentation on this feature can be found here: Set Zone Time to Live - Version 68 Documentation - cPanel Documentation Thank you,0 -
Well I did select all domains, and al looked the same as with your test. But I feel very stupid now... I was looking at the refresh time instead of the TTL. Too many hours on this server this week I guess, sorry. So it's working now. Is there also a way to easily change the refresh time for all domanis? 0 -
That's ok, it happens to all of us! There isn't a way to change the refresh time like there is for the TTL through the UI unfortunately. You'd need to make the modification to each zone at WHM>>DNS Functions>>Edit DNS Zone 0 -
Oke thank you. Then this thread can be marked as solved. ;) 0 -
Thanks @rhm.geerts ! Glad we could help! 0
Please sign in to leave a comment.
Comments
5 comments