From c30080e503a20fbd379800374d29ec679e72fea0 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 18 Mar 2015 21:01:40 +0100 Subject: [PATCH] hosts file not regenerated in dns forward --- src/www/services_dnsmasq.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/www/services_dnsmasq.php b/src/www/services_dnsmasq.php index dd1e24689..9608c6bf9 100644 --- a/src/www/services_dnsmasq.php +++ b/src/www/services_dnsmasq.php @@ -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)