summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound/luasrc
diff options
context:
space:
mode:
authorEric Luehrsen <ericluehrsen@hotmail.com>2018-05-29 00:14:00 -0400
committerEric Luehrsen <ericluehrsen@hotmail.com>2018-05-29 00:14:00 -0400
commitd0757f1f4781b847652f5e37c4ff389a3155aa03 (patch)
tree7737d68cf85a8987db3c6b5d516da663475a3280 /applications/luci-app-unbound/luasrc
parent60ea5dc53fa01a88e4b9854cff95db0bbb54473b (diff)
luci-app-unbound: add root zone file cache option
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat (limited to 'applications/luci-app-unbound/luasrc')
-rw-r--r--applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua b/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua
index a2706ffa6c..256bbb8392 100644
--- a/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua
+++ b/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua
@@ -9,7 +9,7 @@ local rlh, rpv, vld, nvd, eds, prt, tlm
local ctl, dlk, dom, dty, lfq, wfq, exa
local dp6, d64, pfx, qry, qrs
local pro, tgr, rsc, rsn, ag2, stt
-local rpn, din, dfw
+local rpn, din, dfw, ath
local ucl = luci.model.uci.cursor()
local valman = ucl:get_first("unbound", "unbound", "manual_conf")
@@ -241,6 +241,10 @@ if valman ~= "1" then
qrs.rmempty = false
qrs:depends({ query_minimize = true })
+ ath = s1:taboption("resource", Flag, "prefetch_root", translate("Prefetch Root:"),
+ translate("Obtain complete root zone files and install in auth-zone: clause"))
+ ath.rmempty = false
+
eds = s1:taboption("resource", Value, "edns_size", translate("EDNS Size:"),
translate("Limit extended DNS packet size"))
eds.datatype = "and(uinteger,min(512),max(4096))"