fix(脚本): 修改xray-core dns无法分流问题

pull/934/head
mack-a 2024-02-02 16:08:39 +08:00
parent bd48e14e4e
commit 15da99f347
1 changed files with 6 additions and 3 deletions

View File

@ -3331,7 +3331,9 @@ EOF
"outbounds":[ "outbounds":[
{ {
"protocol":"freedom", "protocol":"freedom",
"settings": {}, "settings": {
domainStrategy":"UseIP"
},
"tag":"${tag}" "tag":"${tag}"
} }
] ]
@ -3741,7 +3743,8 @@ initXrayConfig() {
{ {
"log": { "log": {
"error": "/etc/v2ray-agent/xray/error.log", "error": "/etc/v2ray-agent/xray/error.log",
"loglevel": "warning" "loglevel": "warning",
"dnsLog": false
} }
} }
EOF EOF
@ -8713,7 +8716,7 @@ menu() {
cd "$HOME" || exit cd "$HOME" || exit
echoContent red "\n==============================================================" echoContent red "\n=============================================================="
echoContent green "作者mack-a" echoContent green "作者mack-a"
echoContent green "当前版本v3.2.4" echoContent green "当前版本v3.2.5"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent" echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c" echoContent green "描述:八合一共存脚本\c"
showInstallStatus showInstallStatus