You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
o.description=translate("Notify the DNS server when the DNS query is notified, the location of the client (cannot be a private IP address).") .."<br />" ..
468
+
translate("This feature requires the DNS server to support the Edns Client Subnet (RFC7871).")
467
469
o.datatype="ipaddr"
468
470
o:depends({dns_mode="sing-box"})
469
471
o:depends({dns_mode="xray"})
470
472
o:depends({_node_sel_shunt="1"})
471
473
474
+
o=s:option(Flag, "remote_fakedns", "FakeDNS", translate("Use FakeDNS work in the shunt domain that proxy."))
@@ -161,7 +168,7 @@ if (has_singbox or has_xray) and #nodes_table > 0 then
161
168
o.cfgvalue=get_cfgvalue(v.id, "preproxy_enabled")
162
169
o.write=get_write(v.id, "preproxy_enabled")
163
170
164
-
o=s:taboption("Main", ListValue, vid.."-main_node", string.format('<a style="color:red">%s</a>', translate("Preproxy Node")), translate("Set the node to be used as a pre-proxy. Each rule (including <code>Default</code>) has a separate switch that controls whether this rule uses the pre-proxy or not."))
171
+
o=s:taboption("Main", ListValue, vid.."-main_node", string.format('<a style="color:#FF8C00">%s</a>', translate("Preproxy Node")), translate("Set the node to be used as a pre-proxy. Each rule (including <code>Default</code>) has a separate switch that controls whether this rule uses the pre-proxy or not."))
165
172
o:depends(vid.."-preproxy_enabled", "1")
166
173
o.template=appname.."/cbi/nodes_listvalue"
167
174
o.group= {}
@@ -188,6 +195,12 @@ if (has_singbox or has_xray) and #nodes_table > 0 then
188
195
o.cfgvalue=get_cfgvalue(v.id, "main_node")
189
196
o.write=get_write(v.id, "main_node")
190
197
198
+
o=s:taboption("Main", Flag, vid.."-fakedns", "FakeDNS", translate("Use FakeDNS work in the shunt domain that proxy."))
199
+
o:depends("tcp_node", v.id)
200
+
o.cfgvalue=get_cfgvalue(v.id, "fakedns")
201
+
o.write=get_write(v.id, "fakedns")
202
+
o.remove=get_remove(v.id, "fakedns")
203
+
191
204
m.uci:foreach(appname, "shunt_rules", function(e)
192
205
localid=e[".name"]
193
206
localnode_option=vid.."-" ..id.."_node"
@@ -204,16 +217,23 @@ if (has_singbox or has_xray) and #nodes_table > 0 then
@@ -269,7 +293,7 @@ if (has_singbox or has_xray) and #nodes_table > 0 then
269
293
end
270
294
271
295
localid="default_proxy_tag"
272
-
o=s:taboption("Main", ListValue, vid.."-" ..id, string.format('* <a style="color:red">%s</a>', translate("Default Preproxy")), translate("When using, localhost will connect this node first and then use this node to connect the default node."))
296
+
o=s:taboption("Main", ListValue, vid.."-" ..id, string.format('* <a style="color:#FF8C00">%s</a>', translate("Default Preproxy")), translate("When using, localhost will connect this node first and then use this node to connect the default node."))
273
297
o.cfgvalue=get_cfgvalue(v.id, id)
274
298
o.write=get_write(v.id, id)
275
299
o.remove=get_remove(v.id, id)
@@ -335,7 +359,7 @@ if api.is_finded("smartdns") then
335
359
o=s:taboption("DNS", Value, "group_domestic", translate("Domestic group name"))
336
360
o.placeholder="local"
337
361
o:depends("dns_shunt", "smartdns")
338
-
o.description=translate("You only need to configure domestic DNS packets in SmartDNS and set it redirect or as Dnsmasq upstream, and fill in the domestic DNS group name here.")
362
+
o.description=translate("You only need to configure domestic DNS packets in SmartDNS, and fill in the domestic DNS group name here.")
o.description=translate("Notify the DNS server when the DNS query is notified, the location of the client (cannot be a private IP address).") .."<br />" ..
562
-
translate("This feature requires the DNS server to support the Edns Client Subnet (RFC7871).")
586
+
translate("This feature requires the DNS server to support the Edns Client Subnet (RFC7871).")
0 commit comments