summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua')
-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 64c72387f..8786ebc83 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"