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:
Eric Luehrsen
2020-07-04 13:55:40 -04:00
parent f73ed87a12
commit d00237135d
9 changed files with 320 additions and 457 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ rootkey_update() {
[ -z "$dnssec_age" ] && dnssec_age=9
if [ "$dnssec_age" -gt 90 ] || [ "$dnssec" -lt 1 ] ; then
if [ $dnssec_age -gt 90 ] || [ $dnssec -lt 1 ] ; then
# Feature disabled
return 0
@@ -79,7 +79,7 @@ rootkey_update() {
fi
if [ "$rootkey_age" -gt "$dnssec_age" ] ; then
if [ $rootkey_age -gt $dnssec_age ] ; then
filestuff=$( cat $UB_RKEY_FILE )