mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
unbound: improve startup and dhcp script robustness
- prevent rapid overlap in DHCP script updates - check and allow localhost forwards with specific applications - add option for rate limiting inbound queries - change UCI list to table format with Unbound conf references Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
This commit is contained in:
@@ -67,14 +67,13 @@ service_triggers() {
|
||||
procd_add_raw_trigger "interface.*.up" 3000 /etc/init.d/unbound restart
|
||||
|
||||
elif [ -n "$triggers" ] ; then
|
||||
procd_add_reload_trigger "unbound" "dhcp"
|
||||
|
||||
|
||||
for trigger in $triggers ; do
|
||||
# User selected triggers to restart at any other time
|
||||
procd_add_reload_interface_trigger "$trigger"
|
||||
done
|
||||
|
||||
procd_add_reload_trigger "unbound" "dhcp"
|
||||
|
||||
else
|
||||
procd_add_reload_trigger "unbound" "dhcp"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user