diff --git a/cp/app/Controllers/SystemController.php b/cp/app/Controllers/SystemController.php index 71e7ce1..0290a1b 100644 --- a/cp/app/Controllers/SystemController.php +++ b/cp/app/Controllers/SystemController.php @@ -986,7 +986,7 @@ class SystemController extends Controller $secureTld = $tld['secure']; if ($secureTld === 1) { if (file_exists('/usr/sbin/rndc')) { - $zone = ltrim($tld['tld'], '.'); + $zone = strtolower(ltrim($tld['tld'], '.')); $statusOutput = shell_exec("sudo rndc dnssec -status " . escapeshellarg($zone) . " 2>&1"); if (!$statusOutput) { @@ -1066,7 +1066,7 @@ class SystemController extends Controller } } } elseif (file_exists('/usr/sbin/knotc')) { - $zone = ltrim($tld['tld'], '.'); + $zone = strtolower(ltrim($tld['tld'], '.')); $keyDir = '/etc/knot/keys'; // Use knotc to get key statuses diff --git a/cp/resources/views/admin/system/manageTld.twig b/cp/resources/views/admin/system/manageTld.twig index 311ad3c..24a6153 100644 --- a/cp/resources/views/admin/system/manageTld.twig +++ b/cp/resources/views/admin/system/manageTld.twig @@ -316,7 +316,7 @@ document.querySelectorAll('.enable-dnssec-link').forEach(function (el) { Swal.fire({ title: 'Are you sure?', - text: 'Please ensure DNSSEC has been properly configured for this TLD prior to proceeding, as outlined in section 2.1.3b. of the manual.', + text: 'Please ensure DNSSEC has been properly configured for this TLD prior to proceeding, as outlined in section 2.1.1 of the manual.', icon: 'warning', showCancelButton: true, confirmButtonText: 'Yes, continue',