diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi index 1279c69ba..8094a3a0a 100755 --- a/html/cgi-bin/dns.cgi +++ b/html/cgi-bin/dns.cgi @@ -216,6 +216,9 @@ if (($cgiparams{'SERVERS'} eq $Lang::tr{'save'}) || ($cgiparams{'SERVERS'} eq $L # Write the changed hash back to the config file. &General::writehasharray($servers_file, \%dns_servers); + + # Call function to handle unbound restart, etc. + &_handle_unbound_and_more(); } ## Remove entry from DNS servers list. @@ -235,6 +238,9 @@ if (($cgiparams{'SERVERS'} eq $Lang::tr{'save'}) || ($cgiparams{'SERVERS'} eq $L # Write the changed hash to the config file. &General::writehasharray($servers_file, \%dns_servers); + # Call function to handle unbound restart, etc. + &_handle_unbound_and_more(); + ## Handle request to check the servers. # } elsif ($cgiparams{'SERVERS'} eq $Lang::tr{'dns check servers'}) {