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:
@@ -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 )
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user