mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
unbound: add domain resolution control options
- Add domain_forward to permit designated domains to forward instead of recurse as listed in resolve.conf.auto from DHCP WAN client - Update rebind_protection and add rebind_interface to protect IP6 GLA locally just like RFC 1918 protection - Rename trigger to trigger_interface with backwards compatability - Update odhcpd script for efficiency handling many clients Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
This commit is contained in:
@@ -56,11 +56,14 @@ stop_service() {
|
||||
|
||||
service_triggers() {
|
||||
local trigger
|
||||
local triggers=$( uci_get unbound.@unbound[0].trigger )
|
||||
local legacy=$( uci_get unbound.@unbound[0].trigger )
|
||||
local triggers=$( uci_get unbound.@unbound[0].trigger_interface )
|
||||
|
||||
triggers="$triggers $legacy"
|
||||
PROCD_RELOAD_DELAY=2000
|
||||
procd_add_reload_trigger "unbound"
|
||||
|
||||
|
||||
if [ -n "$triggers" ] ; then
|
||||
for trigger in $triggers ; do
|
||||
# due to some netifd/procd interactions with IP6, limit interfaces
|
||||
|
||||
Reference in New Issue
Block a user