mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 13:53:56 +08:00
update 2026-09-08 16:30:31
This commit is contained in:
1 parent
f12aa6537d
commit
b81fb0f1c5
5 files changed
+31
-16
No files matched your search
@@ -1800,8 +1800,8 @@ function gen_config(var)
|
||||
remote_dns_outbound = {
|
||||
tag = "dns-out",
|
||||
protocol = "dns",
|
||||
proxySettings = dns_outbound_tag and {
|
||||
tag = (dns_outbound_tag ~= "blackhole") and dns_outbound_tag or "direct"
|
||||
streamSettings = dns_outbound_tag and {
|
||||
sockopt = { dialerProxy = (dns_outbound_tag ~= "blackhole") and dns_outbound_tag or "direct" }
|
||||
} or nil,
|
||||
settings = {
|
||||
address = (chn_list ~= "proxy") and "8.8.8.8" or "223.5.5.5",
|
||||
|
||||
Reference in new issue
Block a user