From 7f98db18f7629ea795ec4c0d88716706763c11fd Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Fri, 17 Jul 2020 22:18:25 +0800 Subject: [PATCH] Update V2Ray config due to https://github.com/v2ray/domain-list-community/pull/640 --- README.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8a6421bc76..1b967ec1d2 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ scoop install v2ray-rules-dat "domain": [ "geosite:apple-cn", "geosite:google-cn", + "geosite:tld-cn", "domain:icloud.com", "domain:icloud-content.com" ] @@ -141,13 +142,6 @@ scoop install v2ray-rules-dat ```json "dns": { "servers": [ - { - "address": "1.1.1.1", - "port": 53, - "domains": [ - "geosite:geolocation-!cn" - ] - }, { "address": "114.114.114.114", "port": 53, @@ -155,8 +149,15 @@ scoop install v2ray-rules-dat "geosite:cn" ] }, - "8.8.8.8", - "223.5.5.5" + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" + ] + }, + "223.5.5.5", + "8.8.8.8" ] } ``` @@ -260,7 +261,7 @@ scoop install v2ray-rules-dat } ], "routing": { - "domainStrategy": "IPIfNonMatch", + "domainStrategy": "AsIs", "rules": [ { "type": "field", @@ -284,6 +285,13 @@ scoop install v2ray-rules-dat "geosite:category-ads-all" ] }, + { + "type": "field", + "outboundTag": "Direct", + "domain": [ + "geosite:tld-cn" + ] + }, { "type": "field", "outboundTag": "Proxy",