hosts file not regenerated in dns forward

This commit is contained in:
Ad Schellevis 2015-03-18 21:01:40 +01:00
parent 81bf3210ea
commit c30080e503

View File

@ -96,6 +96,7 @@ if ($_POST && isset($_POST['submit'])) {
if (!$input_errors) {
write_config();
$retval = services_dnsmasq_configure();
$savemsg = get_std_save_message($retval);
}
@ -105,6 +106,7 @@ if ($_POST && isset($_POST['submit'])) {
filter_configure();
/* Update resolv.conf in case the interface bindings exclude localhost. */
system_resolvconf_generate();
system_hosts_generate();
$retval = services_dnsmasq_configure();
$savemsg = get_std_save_message($retval);
if ($retval == 0)