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 147a5f7e31
commit e81529596d
10 changed files with 321 additions and 458 deletions
+3
View File
@@ -19,6 +19,7 @@ config unbound
option protocol 'default'
option query_minimize '0'
option query_min_strict '0'
option rate_limit '0'
option rebind_localhost '0'
option rebind_protection '1'
option recursion 'default'
@@ -34,6 +35,7 @@ config unbound
#list domain_insecure 'ntp.example.com'
config zone
# cache the root zone all at once to speed up recursion
option enabled '0'
option fallback '1'
option url_dir 'https://www.internic.net/domain/'
@@ -46,6 +48,7 @@ config zone
list zone_name 'ip6.arpa.'
config zone
# forward ISP account management to DHCP announced DNS servers
option enabled '0'
option fallback '1'
option resolv_conf '1'