mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
Prepend dstxt with DNSKEY info
This commit is contained in:
parent
5009bf8993
commit
e04ca87744
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ function get_zone_keys($zone) {
|
|||
if (!isset($key['active']))
|
||||
continue;
|
||||
|
||||
$key['dstxt'] = $zone.' IN DNSKEY '.$key['dnskey']."\n\n";
|
||||
|
||||
if (isset($key['ds'])) {
|
||||
foreach ($key['ds'] as $ds) {
|
||||
$key['dstxt'] .= $zone.' IN DS '.$ds."\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue