Add luci support for dnsmasq option '--servers-file'
authorLars Kruse <devel@sumpfralle.de>
Sun, 29 Mar 2015 20:11:29 +0000 (22:11 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 14 Jul 2015 21:32:08 +0000 (23:32 +0200)
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua

index 997a9274d2a0222cfc7ad1f5fa2cd50f6900f1a9..49103a811394932564e66f3ac7bcb686d82a76d2 100644 (file)
@@ -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 " ..