mirror of
https://github.com/webmin/webmin.git
synced 2026-05-05 23:00:28 +01:00
Show DNSSEC warning on system info page
This commit is contained in:
@@ -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
17
bind8/system_info.pl
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user