Commit 4c06debc authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3785 Removing txt records from reverse zone

parent ceb05dde
......@@ -281,6 +281,7 @@ class DNS
$newRDn = "zoneName=".$zone['ReverseZone'].",".$base;
$rObj = $obj;
$rObj['zoneName'] = $zone['ReverseZone'];
unset($rObj['tXTRecord']); /* Remove TXT records from reverse zone */
$add[$newRDn] = $rObj;
/* Remove currently managed zone from oldZones.
......
......@@ -358,7 +358,7 @@ class servDNSeditZoneEntries extends plugin
$ldap = $this->config->get_ldap_link();
$ldap->cd ($this->config->current['BASE']);
/* move follwoing entries */
/* move following entries */
foreach ($tmp['move'] as $src => $dst) {
$this->move($src, $dst);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment