diff --git a/src/etc/inc/plugins.inc.d/dnsmasq.inc b/src/etc/inc/plugins.inc.d/dnsmasq.inc index 56def1751..7625d1dde 100644 --- a/src/etc/inc/plugins.inc.d/dnsmasq.inc +++ b/src/etc/inc/plugins.inc.d/dnsmasq.inc @@ -150,6 +150,9 @@ function dnsmasq_configure_do($verbose = false) _dnsmasq_add_host_entries(); + /* XXX: cleanup, should have been run, but interface changes during boot or wizard are messing things up */ + configd_run('template reload OPNsense/Dnsmasq'); + mwexec('/usr/local/etc/rc.d/dnsmasq start'); if (!empty($config['dnsmasq']['regdhcp'])) { diff --git a/src/etc/inc/plugins.inc.d/unbound.inc b/src/etc/inc/plugins.inc.d/unbound.inc index 4f4e6e955..38e74e1f0 100644 --- a/src/etc/inc/plugins.inc.d/unbound.inc +++ b/src/etc/inc/plugins.inc.d/unbound.inc @@ -350,6 +350,7 @@ EOD; chmod($root_hints_tmp, 0644); rename($root_hints_tmp, '/var/unbound/root.hints'); + /* XXX: cleanup, should have been run, but interface changes during boot or wizard are messing things up */ configd_run('template reload OPNsense/Unbound/*'); }