mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Allow setting a string 'keyinfo'
This commit is contained in:
parent
f61f52a14d
commit
d02889a918
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@ class Zone {
|
|||
$this->dnssec = '';
|
||||
$this->soa_edit = '';
|
||||
$this->soa_edit_api = '';
|
||||
$this->keyinfo = '';
|
||||
$this->account = '';
|
||||
$this->nameservers = Array();
|
||||
$this->rrsets = Array();
|
||||
|
@ -43,6 +44,10 @@ class Zone {
|
|||
array_push($this->rrsets, $toadd); }
|
||||
}
|
||||
|
||||
public function setkeyinfo($info) {
|
||||
$this->keyinfo = $info;
|
||||
}
|
||||
|
||||
public function addnameserver($nameserver) {
|
||||
foreach ($this->nameservers as $ns) {
|
||||
if ($nameserver == $ns) {
|
||||
|
|
Loading…
Add table
Reference in a new issue