|
@@ -141,13 +141,6 @@ o.cfgvalue = function(...)
|
|
|
return Flag.cfgvalue(...) or "1"
|
|
|
end
|
|
|
|
|
|
-o = s:taboption("seconddns", Flag, "seconddns_no_speed_check", translate("Skip Speed Check"), translate("Do not check speed."))
|
|
|
-o.rmempty = false
|
|
|
-o.default = o.disabled
|
|
|
-o.cfgvalue = function(...)
|
|
|
- return Flag.cfgvalue(...) or "0"
|
|
|
-end
|
|
|
-
|
|
|
---- dns server group
|
|
|
o = s:taboption("seconddns", Value, "seconddns_server_group", translate("Server Group"), translate("Query DNS through specific dns server group, such as office, home."))
|
|
|
o.rmempty = true
|
|
@@ -155,6 +148,13 @@ o.placeholder = "default"
|
|
|
o.datatype = "hostname"
|
|
|
o.rempty = true
|
|
|
|
|
|
+o = s:taboption("seconddns", Flag, "seconddns_no_speed_check", translate("Skip Speed Check"), translate("Do not check speed."))
|
|
|
+o.rmempty = false
|
|
|
+o.default = o.disabled
|
|
|
+o.cfgvalue = function(...)
|
|
|
+ return Flag.cfgvalue(...) or "0"
|
|
|
+end
|
|
|
+
|
|
|
---- skip address rules
|
|
|
o = s:taboption("seconddns", Flag, "seconddns_no_rule_addr", translate("Skip Address Rules"), translate("Skip address rules."))
|
|
|
o.rmempty = false
|
|
@@ -187,7 +187,7 @@ o.cfgvalue = function(...)
|
|
|
return Flag.cfgvalue(...) or "0"
|
|
|
end
|
|
|
|
|
|
-o = s:taboption("seconddns", Flag, "seconddns_no_dualstack_selection", translate("Skip Dualstack Selection"), translate("Skip Sualstack Selection."))
|
|
|
+o = s:taboption("seconddns", Flag, "seconddns_no_dualstack_selection", translate("Skip Dualstack Selection"), translate("Skip Dualstack Selection."))
|
|
|
o.rmempty = false
|
|
|
o.default = o.disabled
|
|
|
o.cfgvalue = function(...)
|
|
@@ -202,6 +202,14 @@ o.cfgvalue = function(...)
|
|
|
return Flag.cfgvalue(...) or "0"
|
|
|
end
|
|
|
|
|
|
+---- Force AAAA SOA
|
|
|
+o = s:taboption("seconddns", Flag, "force_aaaa_soa", translate("Force AAAA SOA"), translate("Force AAAA SOA."))
|
|
|
+o.rmempty = false
|
|
|
+o.default = o.disabled
|
|
|
+o.cfgvalue = function(...)
|
|
|
+ return Flag.cfgvalue(...) or "0"
|
|
|
+end
|
|
|
+
|
|
|
----- custom settings
|
|
|
custom = s:taboption("custom", Value, "Custom Settings",
|
|
|
translate(""),
|