From 0a3d5769b93ffded4c5d3f5f2d769342d5a89555 Mon Sep 17 00:00:00 2001 From: actions-user Date: Wed, 19 Nov 2025 00:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20Sync=202025-11-19=2000:12:59?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-passwall/luasrc/passwall/util_xray.lua | 2 +- luci-app-passwall/root/usr/share/passwall/app.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/luci-app-passwall/luasrc/passwall/util_xray.lua b/luci-app-passwall/luasrc/passwall/util_xray.lua index a55d3a8..253784b 100644 --- a/luci-app-passwall/luasrc/passwall/util_xray.lua +++ b/luci-app-passwall/luasrc/passwall/util_xray.lua @@ -1237,7 +1237,7 @@ function gen_config(var) _remote_dns.address = remote_dns_udp_server _remote_dns.port = tonumber(remote_dns_udp_port) or 53 else - address = "tcp://" .. remote_dns_tcp_server .. ":" .. tonumber(remote_dns_tcp_port) or 53 + _remote_dns.address = "tcp://" .. remote_dns_tcp_server .. ":" .. tonumber(remote_dns_tcp_port) or 53 end local _remote_dns_host diff --git a/luci-app-passwall/root/usr/share/passwall/app.sh b/luci-app-passwall/root/usr/share/passwall/app.sh index eecfeb0..56e8ae4 100755 --- a/luci-app-passwall/root/usr/share/passwall/app.sh +++ b/luci-app-passwall/root/usr/share/passwall/app.sh @@ -1552,6 +1552,7 @@ start_dns() { [ -n "${_remote_dns_client_ip}" ] && _args="${_args} remote_dns_client_ip=${_remote_dns_client_ip}" TCP_PROXY_DNS=1 _args="${_args} dns_listen_port=${NEXT_DNS_LISTEN_PORT}" + _args="${_args} remote_dns_protocol=${v2ray_dns_mode}" case "$v2ray_dns_mode" in udp) _args="${_args} remote_dns_udp_server=${REMOTE_DNS}"