summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
authorLars Kruse <devel@sumpfralle.de>2015-03-29 22:11:29 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-07-14 23:32:08 +0200
commite7f57e0caf489586335206a262e6e4660ce1f73f (patch)
treeb0249a51989b5559b3127531c37bac112e759aec /modules/luci-mod-admin-full/luasrc/model/cbi
parent17ab7acbec0fbb6ecf96fd82fec4ee4f6869d48a (diff)
Add luci support for dnsmasq option '--servers-file'
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/model/cbi')
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua5
1 files changed, 5 insertions, 0 deletions
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 997a9274d2..49103a8113 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 <abbr title=\"Domain Name System\">DNS</abbr> servers."))
+
s:taboption("advanced", Flag, "strictorder",
translate("Strict order"),
translate("<abbr title=\"Domain Name System\">DNS</abbr> servers will be queried in the " ..