From d0757f1f4781b847652f5e37c4ff389a3155aa03 Mon Sep 17 00:00:00 2001 From: Eric Luehrsen Date: Tue, 29 May 2018 00:14:00 -0400 Subject: luci-app-unbound: add root zone file cache option Signed-off-by: Eric Luehrsen --- .../luci-app-unbound/luasrc/model/cbi/unbound/configure.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-unbound/luasrc/model/cbi/unbound') 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))" -- cgit v1.2.3