diff --git a/luci-app-passwall/luasrc/passwall/util_xray.lua b/luci-app-passwall/luasrc/passwall/util_xray.lua index 67e473325..d521b5e73 100644 --- a/luci-app-passwall/luasrc/passwall/util_xray.lua +++ b/luci-app-passwall/luasrc/passwall/util_xray.lua @@ -1120,8 +1120,7 @@ function gen_config(var) local _remote_dns = { --_flag = "remote", - address = "tcp://" .. remote_dns_tcp_server, - port = tonumber(remote_dns_tcp_port) + address = "tcp://" .. remote_dns_tcp_server .. ":" .. tonumber(remote_dns_tcp_port) or 53 } local _remote_dns_host