Default TTL

sgws

New member
Joined
Feb 28, 2016
Messages
2
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
 
Yes, copy the:
/usr/local/directadmin/data/templates/named.db
to
/usr/local/directadmin/data/templates/custom/named.db
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
 
Last edited:
Back
Top