mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make sure unbound is reconfigured when interfaces are
This commit is contained in:
parent
7a19fd77a9
commit
9a51bb644c
@ -1141,8 +1141,11 @@ function interfaces_configure() {
|
||||
/* reload dhcpd (interface enabled/disabled status may have changed) */
|
||||
services_dhcpd_configure();
|
||||
|
||||
/* restart dnsmasq */
|
||||
services_dnsmasq_configure();
|
||||
/* restart dnsmasq or unbound */
|
||||
if (isset($config['dnsmasq']['enable']))
|
||||
services_dnsmasq_configure();
|
||||
elseif (isset($config['unbound']['enable']))
|
||||
services_unbound_configure();
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -3144,8 +3147,11 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
|
||||
/* reload ipsec tunnels */
|
||||
vpn_ipsec_configure();
|
||||
|
||||
/* restart dnsmasq */
|
||||
services_dnsmasq_configure();
|
||||
/* restart dnsmasq or unbound */
|
||||
if (isset($config['dnsmasq']['enable']))
|
||||
services_dnsmasq_configure();
|
||||
elseif (isset($config['unbound']['enable']))
|
||||
services_unbound_configure();
|
||||
|
||||
/* update dyndns */
|
||||
send_event("service reload dyndns {$interface}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user