From e7f57e0caf489586335206a262e6e4660ce1f73f Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Sun, 29 Mar 2015 22:11:29 +0200 Subject: [PATCH] Add luci support for dnsmasq option '--servers-file' Signed-off-by: Lars Kruse --- .../luasrc/model/cbi/admin_network/dhcp.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua index 997a9274d..49103a811 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua @@ -89,6 +89,11 @@ s:taboption("advanced", Flag, "nonegcache", translate("No negative cache"), translate("Do not cache negative replies, e.g. for not existing domains")) +s:taboption("advanced", Value, "serversfile", + translate("Additional servers file"), + translate("This file may contain lines like 'server=/domain/1.2.3.4' or 'server=1.2.3.4' for".. + "domain-specific or full upstream DNS servers.")) + s:taboption("advanced", Flag, "strictorder", translate("Strict order"), translate("DNS servers will be queried in the " .. -- 2.25.1