From: Lars Kruse Date: Sun, 29 Mar 2015 20:11:29 +0000 (+0200) Subject: Add luci support for dnsmasq option '--servers-file' X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e7f57e0caf489586335206a262e6e4660ce1f73f;p=oweals%2Fluci.git Add luci support for dnsmasq option '--servers-file' Signed-off-by: Lars Kruse --- 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 " ..