Commit c30080e5 authored by Ad Schellevis's avatar Ad Schellevis

hosts file not regenerated in dns forward

parent 81bf3210
...@@ -96,6 +96,7 @@ if ($_POST && isset($_POST['submit'])) { ...@@ -96,6 +96,7 @@ if ($_POST && isset($_POST['submit'])) {
if (!$input_errors) { if (!$input_errors) {
write_config(); write_config();
$retval = services_dnsmasq_configure(); $retval = services_dnsmasq_configure();
$savemsg = get_std_save_message($retval); $savemsg = get_std_save_message($retval);
} }
...@@ -105,6 +106,7 @@ if ($_POST && isset($_POST['submit'])) { ...@@ -105,6 +106,7 @@ if ($_POST && isset($_POST['submit'])) {
filter_configure(); filter_configure();
/* Update resolv.conf in case the interface bindings exclude localhost. */ /* Update resolv.conf in case the interface bindings exclude localhost. */
system_resolvconf_generate(); system_resolvconf_generate();
system_hosts_generate();
$retval = services_dnsmasq_configure(); $retval = services_dnsmasq_configure();
$savemsg = get_std_save_message($retval); $savemsg = get_std_save_message($retval);
if ($retval == 0) if ($retval == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment