From: hickert Date: Mon, 31 Mar 2008 06:01:54 +0000 (+0000) Subject: closes #382 - Fixed DNS nSRecord problem. Server->Service->Zones->Edit->Global-Settin... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aff50426c3fd871978558b0f985374ba3995bafa;p=gosa.git closes #382 - Fixed DNS nSRecord problem. Server->Service->Zones->Edit->Global-Settings: nSRecords were not kept. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@10072 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servDNSeditZone.inc b/plugins/admin/systems/class_servDNSeditZone.inc index 8dd76dc05..1dfcf938b 100644 --- a/plugins/admin/systems/class_servDNSeditZone.inc +++ b/plugins/admin/systems/class_servDNSeditZone.inc @@ -93,7 +93,7 @@ class servdnseditZone extends plugin $tmp2[$tmp[0]] = $rec; unset($this->Records[$key]); } - if($rec['type'] == "nSRecord"){ + if($rec['type'] == "nSRecord" && preg_match("/".normalizePreg($this->sOAprimary)."/",$rec['value'])){ unset($this->Records[$key]); } }