mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
Unbound: remove hosts logic
This commit is contained in:
parent
1266443673
commit
82306ba6ce
@ -43,7 +43,6 @@ function unbound_configure()
|
||||
'bootup' => array('unbound_configure_do'),
|
||||
'dns' => array('unbound_configure_do'),
|
||||
'early' => array('unbound_cache_flush'),
|
||||
'hosts' => array('unbound_hosts_generate:0'),
|
||||
'local' => array('unbound_configure_do'),
|
||||
'newwanip' => array('unbound_configure_do:2'),
|
||||
);
|
||||
@ -649,15 +648,6 @@ function unbound_acls_config()
|
||||
file_put_contents('/var/unbound/access_lists.conf', $aclcfg);
|
||||
}
|
||||
|
||||
function unbound_hosts_generate()
|
||||
{
|
||||
if (!unbound_enabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
unbound_configure_do();
|
||||
}
|
||||
|
||||
function unbound_local_zone_types()
|
||||
{
|
||||
return array(
|
||||
|
||||
@ -49,7 +49,7 @@ function validate_partial_mac_list($maclist)
|
||||
function reconfigure_dhcpd()
|
||||
{
|
||||
system_resolver_configure();
|
||||
plugins_configure('hosts');
|
||||
plugins_configure('dns');
|
||||
clear_subsystem_dirty('hosts');
|
||||
dhcpd_dhcp4_configure();
|
||||
clear_subsystem_dirty('staticmaps');
|
||||
|
||||
@ -37,7 +37,7 @@ require_once("plugins.inc.d/dhcpd.inc");
|
||||
function reconfigure_dhcpd()
|
||||
{
|
||||
system_resolver_configure();
|
||||
plugins_configure('hosts');
|
||||
plugins_configure('dns');
|
||||
clear_subsystem_dirty('hosts');
|
||||
dhcpd_dhcp6_configure();
|
||||
clear_subsystem_dirty('staticmaps');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user