dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",
dns:depends("_no_dns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
metric = section:taboption("advanced", Value, "metric",
translate("Use custom DNS servers"))
dns.datatype = "ipaddr"
+dns.cast = "string"
if luci.model.network:has_ipv6() then
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"
keepalive_failure = section:taboption("advanced", Value, "_keepalive_failure",
dns:depends("peerdns", "")
dns.datatype = "ipaddr"
+dns.cast = "string"