Skip to content

Commit

Permalink
hosts file not regenerated in dns forward
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Mar 18, 2015
1 parent 81bf321 commit c30080e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/www/services_dnsmasq.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@

if (!$input_errors) {
write_config();

$retval = services_dnsmasq_configure();
$savemsg = get_std_save_message($retval);
}
Expand All @@ -105,6 +106,7 @@
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)
Expand Down

0 comments on commit c30080e

Please sign in to comment.