fix: dns 8888 to dns.google

This commit is contained in:
233boy
2022-05-26 13:34:30 +08:00
parent 9c63512887
commit 39193def31
13 changed files with 24 additions and 84 deletions

View File

@@ -106,18 +106,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -78,18 +78,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -80,18 +80,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -65,18 +65,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -68,18 +68,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -52,18 +52,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -79,12 +79,7 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],

View File

@@ -51,18 +51,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -52,18 +52,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -46,18 +46,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -48,18 +48,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -46,18 +46,13 @@
"protocol": "blackhole", "protocol": "blackhole",
"settings": {}, "settings": {},
"tag": "blocked" "tag": "blocked"
}, }
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config //include_out_config
// //
], ],
"dns": { "dns": {
"servers": [ "servers": [
"https+local://8.8.8.8/dns-query", "https+local://dns.google/dns-query",
"8.8.8.8", "8.8.8.8",
"1.1.1.1", "1.1.1.1",
"localhost" "localhost"

View File

@@ -10,7 +10,7 @@ none='\e[0m'
# Root # Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v3.54" _version="v3.55"
cmd="apt-get" cmd="apt-get"