From f4e80c6e5dccbe225f8a65dbfb8e1ad0c0c56828 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Sat, 12 Sep 2020 17:56:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=86=85=E7=BD=AEdns=E8=A7=A3=E6=9E=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index 50a0dfd..3800f96 100644 --- a/install.sh +++ b/install.sh @@ -1055,8 +1055,8 @@ EOF cat << EOF > /etc/v2ray-agent/v2ray/config.json { "log": { - "access":"/etc/v2ray-agent/v2ray/v2ray_access.log", - "error":"/etc/v2ray-agent/v2ray/v2ray_error.log", + "access": "/etc/v2ray-agent/v2ray/v2ray_access.log", + "error": "/etc/v2ray-agent/v2ray/v2ray_error.log", "loglevel": "debug" }, "inbounds": [ @@ -1189,15 +1189,19 @@ EOF "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + } } ], "dns": { "servers": [ + "74.82.42.42", "8.8.8.8", - "8.8.4.4" - ], - "tag": "dns_inbound" + "8.8.4.4", + "1.1.1.1", + "localhost" + ] } } EOF @@ -1502,7 +1506,7 @@ menu(){ cd echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.0.3" + echoContent green "当前版本:v2.0.4" echoContent red "==============================================================" echoContent yellow "1.(VLESS+TCP+TLS/VMess+TCP+TLS/VMess+WS+TLS/VLESS+WS+TLS)+伪装博客 四合一共存脚本[Cloudflare云朵需为灰色]" echoContent red "=============================================================="