Show DNSSEC warning on system info page

This commit is contained in:
Jamie Cameron
2017-08-23 15:29:10 -07:00
parent 3204bc55d2
commit 2fdebf7986
2 changed files with 21 additions and 0 deletions

View File

@@ -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("");

17
bind8/system_info.pl Normal file
View File

@@ -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;
}