where to configure DNS TTL minimal values ?

Discussion in 'ISPConfig 3 Priority Support' started by radim_h, May 16, 2013.

  1. radim_h

    radim_h Member HowtoForge Supporter

    Hello,

    some time ago there was solved issue in butracker about limits for minimal values which user can input to DNS (eg not less than 3600)
    The issue was fixed and i asked once where the limits can be set.
    I got answer that somewhere in the script.

    I cannot find the issue or the answer. Can anybody advice me where i can set minimal limits which user can set for DNS? Users are settng nosenses like 60 second etc..

    Regards
    RH
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The values for the checks are defined in the form files. See e.g. /usr/local/ispconfig/interface/web/dns/form/dns_soa.tform.php

    To change the min. value for the ttl of the zone, change the line 209 from:

    'range' => '60:',

    to:

    'range' => '3600:',
     
  3. radim_h

    radim_h Member HowtoForge Supporter

    Than you info.

    Just notice for this:

    Limit is working only for main records for zone
    Refresh, Retry ,Expire, Minimum, TTL
    Not working for individual records inside zone, you can create any A record with 1 second

    Also translation string may be
    "You have exceeded minimal interval for record" instead of "Min. Retry time is 60 seconds."

    ---
    And also - it will be really helpfull if limit works just for users and administrator is able to set any kind of record anywhere...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thanks, I added it ti the bugtracker.
     
  5. radim_h

    radim_h Member HowtoForge Supporter

    Thanks

    There is question, if individulal records needs to have to have their own TTL at all.
    Or - TTL from zone should be automatically propagated to individual records..
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If we would remove thet option, then the next user will complain why its gone. Maybe we can set the zone ttl as default for new records.
     

Share This Page