From: Ansuel Smith <ansuelsmth@gmail.com>
Date: Tue, 17 Jul 2018 23:14:33 +0000 (+0200)
Subject: luci-admin-full: add dnsmasq allservers option
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=758c66b9da9a34f6fb93336dd49243a692ee6228;p=oweals%2Fluci.git

luci-admin-full: add dnsmasq allservers option

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 7ff8d15e2491fd35414aafae72f80689bbb121af)
---

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 855ed31f1..ae8a95f9c 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
@@ -122,6 +122,9 @@ s:taboption("advanced", Flag, "strictorder",
 	translate("<abbr title=\"Domain Name System\">DNS</abbr> servers will be queried in the " ..
 		"order of the resolvfile")).optional = true
 
+s:taboption("advanced", Flag, "allservers",
+	translate("All Servers"),
+	translate("Query all available upstream <abbr title=\"Domain Name System\">DNS</abbr> servers")).optional = true
 
 bn = s:taboption("advanced", DynamicList, "bogusnxdomain", translate("Bogus NX Domain Override"),
 	translate("List of hosts that supply bogus NX domain results"))