From 5dd0aac87bd4afc4959a2a49be406c299847f26c Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Sun, 29 Dec 2019 19:06:36 +0800 Subject: [PATCH] support DOH --- config/server/dynamic/http.json | 1 + config/server/dynamic/kcp.json | 1 + config/server/dynamic/quic.json | 1 + config/server/dynamic/tcp.json | 1 + config/server/dynamic/ws.json | 1 + config/server/h2.json | 1 + config/server/http.json | 1 + config/server/kcp.json | 1 + config/server/quic.json | 1 + config/server/tcp.json | 1 + config/server/ws.json | 1 + v2ray.sh | 2 +- 12 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/server/dynamic/http.json b/config/server/dynamic/http.json index 4661469..f9ec10c 100644 --- a/config/server/dynamic/http.json +++ b/config/server/dynamic/http.json @@ -119,6 +119,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/kcp.json b/config/server/dynamic/kcp.json index 48e3b8b..ec0be0c 100644 --- a/config/server/dynamic/kcp.json +++ b/config/server/dynamic/kcp.json @@ -91,6 +91,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/quic.json b/config/server/dynamic/quic.json index dad9718..aa242b7 100644 --- a/config/server/dynamic/quic.json +++ b/config/server/dynamic/quic.json @@ -93,6 +93,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/tcp.json b/config/server/dynamic/tcp.json index 7c4d90b..66981a9 100644 --- a/config/server/dynamic/tcp.json +++ b/config/server/dynamic/tcp.json @@ -78,6 +78,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/ws.json b/config/server/dynamic/ws.json index 51c889a..a3f3700 100644 --- a/config/server/dynamic/ws.json +++ b/config/server/dynamic/ws.json @@ -81,6 +81,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/h2.json b/config/server/h2.json index 6be2a38..9387ae4 100644 --- a/config/server/h2.json +++ b/config/server/h2.json @@ -74,6 +74,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/http.json b/config/server/http.json index 77e1a8b..595afa9 100644 --- a/config/server/http.json +++ b/config/server/http.json @@ -92,6 +92,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/kcp.json b/config/server/kcp.json index bca8dad..891be95 100644 --- a/config/server/kcp.json +++ b/config/server/kcp.json @@ -64,6 +64,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/quic.json b/config/server/quic.json index 4da010a..8006250 100644 --- a/config/server/quic.json +++ b/config/server/quic.json @@ -65,6 +65,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/tcp.json b/config/server/tcp.json index 01819bf..c7548e0 100644 --- a/config/server/tcp.json +++ b/config/server/tcp.json @@ -59,6 +59,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/ws.json b/config/server/ws.json index 4a45f22..41c42cb 100644 --- a/config/server/ws.json +++ b/config/server/ws.json @@ -59,6 +59,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/v2ray.sh b/v2ray.sh index 1420c13..29732d1 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.26" +_version="v3.27" cmd="apt-get"