unbound: improve interface trigger behavior 4197/head
authorEric Luehrsen <ericluehrsen@hotmail.com>
Sat, 25 Mar 2017 05:53:28 +0000 (01:53 -0400)
committerEric Luehrsen <ericluehrsen@hotmail.com>
Sun, 26 Mar 2017 06:05:46 +0000 (02:05 -0400)
commite6520cf249ccf403a6bc548b7735615f13280212
tree5cd5fd70d87ead35cd987ad75eca28a4062ed7e2
parentfb199062a67c374c917d5f34a8c4e0acae92cfb9
unbound: improve interface trigger behavior

procd interface triggers may be busy. Unbound hard restarts will
flush the cache. This might happen frequently depending on how
interface triggers occur.

Change the procd trigger to reduce occurences. Load this trigger
prior to netifd (START=20), but only truly start Unbound from
the trigger rather than immediately in init. Clean up log entries
in scripts after Unbound, NTP, and DNSSEC are established.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
net/unbound/Makefile
net/unbound/files/odhcpd.awk
net/unbound/files/unbound.init
net/unbound/files/unbound.ntpd
net/unbound/files/unbound.sh