diff --git a/config/server/dynamic/http.json b/config/server/dynamic/http.json index f9ec10c..56cd516 100644 --- a/config/server/dynamic/http.json +++ b/config/server/dynamic/http.json @@ -97,18 +97,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -118,7 +116,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/kcp.json b/config/server/dynamic/kcp.json index ec0be0c..7f869a9 100644 --- a/config/server/dynamic/kcp.json +++ b/config/server/dynamic/kcp.json @@ -69,18 +69,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -90,7 +88,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/quic.json b/config/server/dynamic/quic.json index aa242b7..788b94a 100644 --- a/config/server/dynamic/quic.json +++ b/config/server/dynamic/quic.json @@ -71,18 +71,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -92,7 +90,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/tcp.json b/config/server/dynamic/tcp.json index 66981a9..a504966 100644 --- a/config/server/dynamic/tcp.json +++ b/config/server/dynamic/tcp.json @@ -56,18 +56,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -77,7 +75,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/ws.json b/config/server/dynamic/ws.json index a3f3700..fa5c01e 100644 --- a/config/server/dynamic/ws.json +++ b/config/server/dynamic/ws.json @@ -59,18 +59,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -80,7 +78,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/h2.json b/config/server/h2.json index 9387ae4..0f6dc38 100644 --- a/config/server/h2.json +++ b/config/server/h2.json @@ -52,18 +52,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -73,7 +71,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/http.json b/config/server/http.json index 595afa9..fb04dec 100644 --- a/config/server/http.json +++ b/config/server/http.json @@ -70,18 +70,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -91,7 +89,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/kcp.json b/config/server/kcp.json index 891be95..150c32f 100644 --- a/config/server/kcp.json +++ b/config/server/kcp.json @@ -42,18 +42,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, { "protocol": "mtproto", "settings": {}, @@ -63,7 +61,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/quic.json b/config/server/quic.json index 8006250..a94929a 100644 --- a/config/server/quic.json +++ b/config/server/quic.json @@ -43,18 +43,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, { "protocol": "mtproto", "settings": {}, @@ -64,7 +62,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/tcp.json b/config/server/tcp.json index c7548e0..bb9728a 100644 --- a/config/server/tcp.json +++ b/config/server/tcp.json @@ -37,18 +37,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -58,7 +56,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/ws.json b/config/server/ws.json index 41c42cb..50bb4c6 100644 --- a/config/server/ws.json +++ b/config/server/ws.json @@ -37,18 +37,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -58,7 +56,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/v2ray.sh b/v2ray.sh index 29732d1..5b4a40d 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.27" +_version="v3.28" cmd="apt-get"