diff --git a/bind8/fix_trusted.cgi b/bind8/fix_trusted.cgi index 94c397c08..2804f6338 100644 --- a/bind8/fix_trusted.cgi +++ b/bind8/fix_trusted.cgi @@ -29,6 +29,10 @@ if ($trusted) { &flush_file_lines(); &unlock_file(&make_chroot($config{'named_conf'})); +if (&is_bind_running()) { + my $err = &restart_bind(); + &error($err) if ($err); + } &webmin_log("trusted"); &redirect(""); diff --git a/bind8/system_info.pl b/bind8/system_info.pl new file mode 100644 index 000000000..882799e9c --- /dev/null +++ b/bind8/system_info.pl @@ -0,0 +1,17 @@ + +do 'bind8-lib.pl'; + +sub list_system_info +{ +my ($data, $in) = @_; +my @rv; +my $err = &check_dnssec_client(); +if ($err) { + push(@rv, { 'type' => 'html', + 'open' => 1, + 'id' => $module_name.'_dnssec', + 'priority' => 100, + 'html' => $err }); + } +return @rv; +}