added configuration for bind's TTL value, fixes #166
This commit is contained in:
@@ -183,7 +183,7 @@ class bind
|
||||
$date = date('Ymd');
|
||||
$bindserial = (preg_match('/^' . $date . '/', $domain['bindserial']) ? $domain['bindserial'] + 1 : $date . '00');
|
||||
$this->db->query('UPDATE `' . TABLE_PANEL_DOMAINS . '` SET `bindserial`=\'' . $bindserial . '\' WHERE `id`=\'' . $domain['id'] . '\'');
|
||||
$zonefile = '$TTL 1W' . "\n";
|
||||
$zonefile = '$TTL ' . (int)$this->settings['system']['defaultttl'] . "\n";
|
||||
|
||||
if(count($this->nameservers) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user