1 Add
dnsmasq option
'--servers-file' which is available since v2.69.
3 Signed-off-
by: Lars Kruse <devel@sumpfralle.de>
5 --- a/luci/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
6 +++ b/luci/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
7 @@ -100,6 +100,11 @@
s:taboption(
"advanced",
Flag,
"nonegcach
8 translate("No negative cache
"),
9 translate("Do not cache negative replies, e.g.
for not existing domains
"))
11 +s:taboption("advanced
", Value, "serversfile
",
12 + translate("Additional
servers file
"),
13 + translate("This file may contain lines like
'server=/domain/1.2.3.4' or
'server=1.2.3.4' for"..
14 + "domain-specific or full upstream <abbr title=\"Domain Name System\">DNS</abbr>
servers.
"))
16 s:taboption("advanced
", Flag, "strictorder
",
17 translate("Strict order
"),
18 translate("<abbr title=\
"Domain Name System\">DNS</abbr> servers will be queried in the " ..
22 config_list_foreach
"$cfg" "bogusnxdomain" append_bogusnxdomain
23 append_parm
"$cfg" "leasefile" "--dhcp-leasefile"
24 append_parm
"$cfg" "resolvfile" "--resolv-file"
25 + append_parm
"$cfg" "serversfile" "--servers-file"
26 append_parm
"$cfg" "tftp_root" "--tftp-root"
27 append_parm
"$cfg" "dhcp_boot" "--dhcp-boot"
28 append_parm
"$cfg" "local_ttl" "--local-ttl"