$client=$app->db->queryOneRecord("SELECT limit_dns_zone, dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
$client=$app->db->queryOneRecord("SELECT limit_dns_zone, dns_servers FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
//* Check if a secondary zone with the same name already exists
//* Check if a secondary zone with the same name already exists
$tmp=$app->db->queryOneRecord("SELECT count(id) as number FROM dns_slave WHERE origin = ? AND server_id = ?",$this->dataRecord["origin"],$this->dataRecord["server_id"]);
$tmp=$app->db->queryOneRecord("SELECT count(id) as number FROM dns_slave WHERE origin = ? AND server_id = ?",$this->dataRecord["origin"],$this->dataRecord["server_id"]);