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
Implements a colored background if bind fails to load the zone due to errors
Implements a status text if errors occured
Implements not removing a zone if errors occur. instead old zone stays loaded
@@ -290,6 +294,7 @@ function soa_update($event_name, $data) {
290
294
} else {
291
295
rename($filename, $filename.'.err');
292
296
}
297
+
$app->db->query('UPDATE dns_soa SET status=\'ERROR\', status_txt=\''.str_replace(array('"', '\''), '', $statustext).'\' WHERE id='.$data['new']['id']);
293
298
}
294
299
unset($tpl);
295
300
unset($records);
@@ -333,8 +338,9 @@ function soa_update($event_name, $data) {
0 commit comments