Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    248

    Default dns zone template , which one to change TTL?

    Hi all,

    I tried play with the dns zone template.
    i set refresh from 14400 to 3600

    And i try add a new zone.

    all the created row are still 14400 and not 3600.

    can someone guide me?
    Thanks.

  2. #2
    Member
    Join Date
    Aug 2005
    Posts
    131

    Default

    Are you talking about this Refresh here:

    ; cPanel %cpversion%
    ; Zone file for %domain%
    $TTL %ttl%
    @ IN SOA %nameserver%. %rpemail%. (
    %serial% ; serial, todays date+todays
    7200 ; refresh, seconds <----------------- This one?
    7200 ; retry, seconds
    3600000 ; expire, seconds
    86400 ) ; minimum, seconds

    This must be changed in the standard template.

    If you are talking about the ttl farther down for ftp, mail, and www, you can not set that in the template, unless you edit the template from root in httpd

  3. #3
    Member
    Join Date
    Mar 2002
    Posts
    248

    Default

    Hi oulzac,

    yep

    because, i want to set a lower TTL for newly created zone.
    so, i am planning to edit the template for this.

    I am planning to do this for server failover.

    Will set refresh value accomplish for this?

  4. #4
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    You can change templetes from WHM>>DNS functions >> Edit Zone Templetes >> standard

    To change TTL from 14400 to 3600 change the lines from

    %domain%. IN MX 0 %domain%. to %domain%. 3600 IN MX 0 %domain%. repeat the procedure for other entries...
    Either Zero Or Hundred...

  5. #5
    Member
    Join Date
    Mar 2002
    Posts
    248

    Default

    Hi nickb,

    Thanks.

Similar Threads & Tags
Similar threads

  1. Bulk dns zone ttl editor script
    By Branko in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-24-2008, 07:01 AM
  2. %ttl% variable in DNS zone templates?
    By jez9999 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-24-2005, 04:20 PM
  3. %ttl% variable in DNS zone templates?
    By jez9999 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-24-2005, 05:25 AM
  4. Changing TTL's in dns zone file
    By GlennC in forum New User Questions
    Replies: 1
    Last Post: 01-26-2005, 09:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube