From aff50426c3fd871978558b0f985374ba3995bafa Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 31 Mar 2008 06:01:54 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_servDNSeditZone.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } } -- 2.30.2