🌴 Sync 2026-04-12 16:05:35

This commit is contained in:
github-actions[bot] committed 2026-04-12 16:05:35 +08:00
1 parent f2fb147033
commit eceaf2fa43
2 files changed
+5 -13

No files matched your search

@@ -1649,8 +1649,7 @@ function gen_config(var)
protocol = "dokodemo-door",
tag = "dns-in",
settings = {
address = remote_dns_udp_server or remote_dns_tcp_server,
port = tonumber(remote_dns_udp_port) or tonumber(remote_dns_tcp_port),
address = "0.0.0.0",
network = "tcp,udp"
}
})
@@ -1797,15 +1796,10 @@ function gen_config(var)
table.insert(hostname, line)
end
table.insert(dns.servers, 2, {
tag = "bootstrap",
address = "223.5.5.5",
queryStrategy = "UseIPv4",
tag = "dns-in-bootstrap",
address = "localhost",
domains = hostname
})
table.insert(routing.rules, idx, {
inboundTag = { "bootstrap" },
outboundTag = "direct"
})
end
end