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) foreach (array_diff($source_records, $dest_records) as $value_to_add)
knotcZoneExec($sync['destination'], [ knotcZoneExec($sync['destination'], [
$sync['destination'], $sync['destination'],
SYNC_TTL, NS_SYNC_TTL,
$type, $type,
$value_to_add, $value_to_add,
], 'add'); ], 'add');

View file

@ -1,6 +1,6 @@
<?php declare(strict_types=1); ?> <?php declare(strict_types=1); ?>
<p> <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>
<p> <p>
<?= _('Source domains that are not signed with DNSSEC are not synchronized. Synchronizations that remain broken may be deleted.') ?> <?= _('Source domains that are not signed with DNSSEC are not synchronized. Synchronizations that remain broken may be deleted.') ?>