Added CDS/CDNSKEY scanner. Needs live tests

This commit is contained in:
Pinga 2025-07-14 10:25:38 +03:00
parent 9d5c912e15
commit e413072ca4
3 changed files with 236 additions and 0 deletions

View file

@ -17,6 +17,7 @@
// 'gtld_mode' => false, // Enable or disable gTLD mode
// 'spec11' => false, // Enable or disable Spec 11 checks
// 'exchange_rates' => false, // Enable or disable exchange rate download
// 'cds_scanner' => false, // Enable or disable CDS/CDNSKEY scanning and DS publishing to the zone
// ];
//
// Any keys omitted in cron_config.php will fall back to the defaults
@ -31,6 +32,7 @@ $defaultConfig = [
'gtld_mode' => false, // Set to true to enable
'spec11' => false, // Set to true to enable
'exchange_rates' => false, // Set to true to enable
'cds_scanner' => false, // Set to true to enable
];
// Load External Config if Exists
@ -90,5 +92,9 @@ if ($cronJobConfig['exchange_rates']) {
$scheduler->php('/opt/registry/automation/exchange-rates.php')->at('0 1 * * *');
}
if ($cronJobConfig['cds_scanner']) {
$scheduler->php('/opt/registry/automation/cds_scanner.php')->at('0 */6 * * *');
}
// Run Scheduled Tasks
$scheduler->run();