mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-04 18:13:22 +02:00
Small fixes
This commit is contained in:
parent
05d929f9b4
commit
6ca9e5256a
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue