summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan/luasrc/model/cbi
diff options
context:
space:
mode:
authorCraig M. Coffee <craigc@netlab7.com>2010-04-29 04:12:01 +0000
committerCraig M. Coffee <craigc@netlab7.com>2010-04-29 04:12:01 +0000
commita56bae9900a3d6bf36965eb0abfc736b5ef77abf (patch)
tree6147fb13a1446ae07016eea567554e73bb7aa7f8 /applications/luci-multiwan/luasrc/model/cbi
parent4dc420efd355a732119cbbc01bff7ff9a32f80a7 (diff)
applications/luci-multiwan: Removed resolv.conf config option and added
dns server settings
Diffstat (limited to 'applications/luci-multiwan/luasrc/model/cbi')
-rw-r--r--applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
index 64c72387f3..8786ebc838 100644
--- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
+++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
@@ -26,12 +26,6 @@ default_route.default = "balancer"
default_route.optional = false
default_route.rmempty = false
-resolv_conf = s:option(Value, "resolv_conf", translate("DNS Configuration File"),
- translate("Writeable resolv file, dnsmasq defaults to /tmp/resolv.conf.auto"))
-resolv_conf.default = "/tmp/resolv.conf.auto"
-resolv_conf.optional = false
-resolv_conf.rmempty = false
-
s = m:section(TypedSection, "interface", translate("WAN Interfaces"),
translate("Health Monitor detects and corrects network changes and failed connections."))
s.addremove = true
@@ -113,6 +107,12 @@ failover_to.default = "balancer"
failover_to.optional = false
failover_to.rmempty = false
+dns = s:option(Value, "dns", translate("DNS Server(s)"))
+dns:value("", translate("Auto"))
+dns.default = ""
+dns.optional = false
+dns.rmempty = true
+
s = m:section(TypedSection, "mwanfw", translate("Multi-WAN Traffic Rules"),
translate("Configure rules for directing outbound traffic through specified WAN Uplinks."))
s.template = "cbi/tblsection"