From eed81fb210d3bbff6052e9b19a7095806e781798 Mon Sep 17 00:00:00 2001 From: MkQtS <81752398+MkQtS@users.noreply.github.com> Date: Sun, 9 Nov 2025 23:49:44 +0800 Subject: [PATCH 1/3] Proxy all Google domains Default geosite-cn(dat/srs) used by v2rayN contains google@cn, which performs poorly in certain user environments. --- v2rayN/ServiceLib/Sample/custom_routing_black | 15 +++++++-------- v2rayN/ServiceLib/Sample/custom_routing_white | 15 +++++++-------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/v2rayN/ServiceLib/Sample/custom_routing_black b/v2rayN/ServiceLib/Sample/custom_routing_black index ff2aa075..41fbdfaa 100644 --- a/v2rayN/ServiceLib/Sample/custom_routing_black +++ b/v2rayN/ServiceLib/Sample/custom_routing_black @@ -13,20 +13,19 @@ "api.ip.sb" ] }, - { - "remarks": "Google cn", - "outboundTag": "proxy", - "domain": [ - "domain:googleapis.cn", - "domain:gstatic.com" - ] - }, { "remarks": "阻断udp443", "outboundTag": "block", "port": "443", "network": "udp" }, + { + "remarks": "代理Google", + "outboundTag": "proxy", + "domain": [ + "geosite:google" + ] + }, { "remarks": "绕过局域网IP", "outboundTag": "direct", diff --git a/v2rayN/ServiceLib/Sample/custom_routing_white b/v2rayN/ServiceLib/Sample/custom_routing_white index 10dae092..4f8540fe 100644 --- a/v2rayN/ServiceLib/Sample/custom_routing_white +++ b/v2rayN/ServiceLib/Sample/custom_routing_white @@ -1,18 +1,17 @@ [ - { - "remarks": "Google cn", - "outboundTag": "proxy", - "domain": [ - "domain:googleapis.cn", - "domain:gstatic.com" - ] - }, { "remarks": "阻断udp443", "outboundTag": "block", "port": "443", "network": "udp" }, + { + "remarks": "代理Google", + "outboundTag": "proxy", + "domain": [ + "geosite:google" + ] + }, { "remarks": "绕过局域网IP", "outboundTag": "direct", From c50c52a5a2b9aa13ef83cec52f775d7ba239af3c Mon Sep 17 00:00:00 2001 From: MkQtS <81752398+MkQtS@users.noreply.github.com> Date: Mon, 10 Nov 2025 23:36:13 +0800 Subject: [PATCH 2/3] Resolve all Google domains via remote server --- v2rayN/ServiceLib/Sample/dns_singbox_normal | 5 ++--- v2rayN/ServiceLib/Sample/dns_v2ray_normal | 3 +-- v2rayN/ServiceLib/Sample/tun_singbox_dns | 5 ++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/v2rayN/ServiceLib/Sample/dns_singbox_normal b/v2rayN/ServiceLib/Sample/dns_singbox_normal index b32b439c..2df81395 100644 --- a/v2rayN/ServiceLib/Sample/dns_singbox_normal +++ b/v2rayN/ServiceLib/Sample/dns_singbox_normal @@ -14,9 +14,8 @@ ], "rules": [ { - "domain_suffix": [ - "googleapis.cn", - "gstatic.com" + "rule_set": [ + "geosite-google" ], "server": "remote", "strategy": "prefer_ipv4" diff --git a/v2rayN/ServiceLib/Sample/dns_v2ray_normal b/v2rayN/ServiceLib/Sample/dns_v2ray_normal index fdb30dae..867bb646 100644 --- a/v2rayN/ServiceLib/Sample/dns_v2ray_normal +++ b/v2rayN/ServiceLib/Sample/dns_v2ray_normal @@ -8,8 +8,7 @@ "address": "1.1.1.1", "skipFallback": true, "domains": [ - "domain:googleapis.cn", - "domain:gstatic.com" + "geosite:google" ] }, { diff --git a/v2rayN/ServiceLib/Sample/tun_singbox_dns b/v2rayN/ServiceLib/Sample/tun_singbox_dns index 3dd55eef..91ed83f9 100644 --- a/v2rayN/ServiceLib/Sample/tun_singbox_dns +++ b/v2rayN/ServiceLib/Sample/tun_singbox_dns @@ -14,9 +14,8 @@ ], "rules": [ { - "domain_suffix": [ - "googleapis.cn", - "gstatic.com" + "rule_set": [ + "geosite:google" ], "server": "remote", "strategy": "prefer_ipv4" From e74ef1eea8915205db637bb1fdbde11500184317 Mon Sep 17 00:00:00 2001 From: MkQtS <81752398+MkQtS@users.noreply.github.com> Date: Tue, 11 Nov 2025 00:15:58 +0800 Subject: [PATCH 3/3] fix typo --- v2rayN/ServiceLib/Sample/tun_singbox_dns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Sample/tun_singbox_dns b/v2rayN/ServiceLib/Sample/tun_singbox_dns index 91ed83f9..4f91c6ff 100644 --- a/v2rayN/ServiceLib/Sample/tun_singbox_dns +++ b/v2rayN/ServiceLib/Sample/tun_singbox_dns @@ -15,7 +15,7 @@ "rules": [ { "rule_set": [ - "geosite:google" + "geosite-google" ], "server": "remote", "strategy": "prefer_ipv4"