S sgws New member Joined Feb 28, 2016 Messages 2 Jun 24, 2016 #1 Is it possible to set a default TTL in de config? Now the default is 14400. I know it's possible to override this value but I want to set a diffrent (3600) default to all existing and (future) new accounts. Stefan
Is it possible to set a default TTL in de config? Now the default is 14400. I know it's possible to override this value but I want to set a diffrent (3600) default to all existing and (future) new accounts. Stefan
nsc /dev/null Joined Jul 9, 2014 Messages 27 Jun 25, 2016 #2 Yes, copy the: /usr/local/directadmin/data/templates/named.db Click to expand... to /usr/local/directadmin/data/templates/custom/named.db Click to expand... and replace the TTL values You want to change inside that new custom file. Those are going to be Your new TTL values. Existing zones can be rewritten with new values with the command: echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d400 Click to expand... Last edited: Jun 25, 2016
Yes, copy the: /usr/local/directadmin/data/templates/named.db Click to expand... to /usr/local/directadmin/data/templates/custom/named.db Click to expand... and replace the TTL values You want to change inside that new custom file. Those are going to be Your new TTL values. Existing zones can be rewritten with new values with the command: echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d400 Click to expand...