fix SYNC_TTL > NS_SYNC_TTL

This commit is contained in:
Miraty 2023-09-19 20:33:44 +02:00
parent 57a0baae54
commit 0504a5ce27
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ foreach (query('select', 'ns-syncs') as $sync) {
foreach (array_diff($source_records, $dest_records) as $value_to_add)
knotcZoneExec($sync['destination'], [
$sync['destination'],
SYNC_TTL,
NS_SYNC_TTL,
$type,
$value_to_add,
], 'add');

View File

@ -1,6 +1,6 @@
<?php declare(strict_types=1); ?>
<p>
<?= sprintf(_('AAAA, A and CAA records are regularly copied from the source domain to the target domain. Their TTLs are set to %s seconds.'), SYNC_TTL) ?>
<?= sprintf(_('AAAA, A and CAA records are regularly copied from the source domain to the target domain. Their TTLs are set to %s seconds.'), NS_SYNC_TTL) ?>
</p>
<p>
<?= _('Source domains that are not signed with DNSSEC are not synchronized. Synchronizations that remain broken may be deleted.') ?>