From: Eric Luehrsen Date: Tue, 29 May 2018 04:14:00 +0000 (-0400) Subject: luci-app-unbound: add root zone file cache option X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0757f1f4781b847652f5e37c4ff389a3155aa03;p=oweals%2Fluci.git luci-app-unbound: add root zone file cache option Signed-off-by: Eric Luehrsen --- 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 a2706ffa6..256bbb839 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))"