You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -298,12 +309,14 @@ function write_named_conf($data, $dns_config) {
298
309
$zones = array();
299
310
300
311
//* Check if the current zone that triggered this function has at least one NS record
312
+
/* Has been replaced by a better zone check
301
313
$rec_num = $app->db->queryOneRecord("SELECT count(id) as ns FROM dns_rr WHERE type = 'NS' AND zone = ".intval($data['new']['id'])." AND active = 'Y'");
302
314
if($rec_num['ns'] == 0) {
303
315
$exclude_zone = $data['new']['origin'];
304
316
} else {
305
317
$exclude_zone = '';
306
318
}
319
+
*/
307
320
308
321
//TODO : change this when distribution information has been integrated into server record
309
322
if (file_exists('/etc/gentoo-release')) {
@@ -319,6 +332,8 @@ function write_named_conf($data, $dns_config) {
0 commit comments