Skip to main content

Set Zone TTL not working

Comments

5 comments

  • cPanelLauren
    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
  • rhm.geerts
    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
  • cPanelLauren
    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
  • rhm.geerts
    Oke thank you. Then this thread can be marked as solved. ;)
    0
  • cPanelLauren
    Thanks @rhm.geerts ! Glad we could help!
    0

Please sign in to leave a comment.