Code

Added ns record to zones
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Aug 2007 12:40:09 +0000 (12:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Aug 2007 12:40:09 +0000 (12:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7147 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions_dns.inc

index c5b507d7c5e7362d533ba65b6d7e5bcf0958ce5b..e3ef16ee8b3f9f576ea879dab28018bb018df41e 100644 (file)
@@ -250,6 +250,7 @@ function getDNSZoneEntriesDiff($config,$newZones,$HostDn)
       $soa.=" ".$zone[$attr];
     }  
     $obj['sOARecord'] = trim($soa);
+    $obj['nSRecord'] = $zone['sOAprimary'];
 
     /* If reverse zone was renamed, move entry 
      */