2 # Check the whole BIND config and report problems
4 require './bind8-lib.pl';
6 $access{'defaults'} || &error($text{'ncheck_ecannot'});
8 &ui_print_header(undef, $text{'ncheck_title'}, "",
9 undef, undef, undef, undef, &restart_links());
11 $file = &make_chroot($config{'named_conf'});
12 @errs = &check_bind_config();
15 print "<b>",&text('ncheck_errs', "<tt>$file</tt>"),"</b><p>\n";
17 foreach my $e (@errs) {
18 print "<li>".&html_escape($e)."\n";
24 print "<b>",&text('ncheck_allok', "<tt>$file</tt>"),"</b><p>\n";
27 &ui_print_footer("", $text{'index_return'});