mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Set ttl for the whole rrset if we update a record within that rrset. Might update other records as well, but that's as designed. Should fix #99
This commit is contained in:
parent
8cb9df7597
commit
b04b4dd864
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ class Zone {
|
|||
|
||||
if ($rrset) {
|
||||
$rrset->addRecord($content, $disabled, $setptr);
|
||||
$rrset->setTtl($ttl);
|
||||
} else {
|
||||
$this->addRRSet($name, $type, $content, $disabled, $ttl, $setptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue