From 06a32dc895e257ee16ca57dc0f6ad317c00f0dd6 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri, 5 Apr 2024 11:05:45 +0800 Subject: [PATCH] Adjust sing-box dns default example --- v2rayN/v2rayN/Sample/dns_singbox_normal | 6 ++++-- v2rayN/v2rayN/Sample/tun_singbox_dns | 13 ++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/v2rayN/v2rayN/Sample/dns_singbox_normal b/v2rayN/v2rayN/Sample/dns_singbox_normal index dedab8b5..0aa14b1f 100644 --- a/v2rayN/v2rayN/Sample/dns_singbox_normal +++ b/v2rayN/v2rayN/Sample/dns_singbox_normal @@ -3,11 +3,13 @@ { "tag": "remote", "address": "tcp://8.8.8.8", + "strategy": "ipv4_only", "detour": "proxy" }, { "tag": "local", "address": "223.5.5.5", + "strategy": "ipv4_only", "detour": "direct" }, { @@ -18,9 +20,9 @@ "rules": [ { "geosite": [ - "cn" + "geolocation-!cn" ], - "server": "local" + "server": "remote" }, { "geosite": [ diff --git a/v2rayN/v2rayN/Sample/tun_singbox_dns b/v2rayN/v2rayN/Sample/tun_singbox_dns index 5d03bf90..0aa14b1f 100644 --- a/v2rayN/v2rayN/Sample/tun_singbox_dns +++ b/v2rayN/v2rayN/Sample/tun_singbox_dns @@ -3,11 +3,13 @@ { "tag": "remote", "address": "tcp://8.8.8.8", + "strategy": "ipv4_only", "detour": "proxy" }, { "tag": "local", "address": "223.5.5.5", + "strategy": "ipv4_only", "detour": "direct" }, { @@ -18,18 +20,15 @@ "rules": [ { "geosite": [ - "cn" + "geolocation-!cn" ], - "server": "local", - "disable_cache": true + "server": "remote" }, { "geosite": [ "category-ads-all" ], - "server": "block", - "disable_cache": true + "server": "block" } - ], - "strategy": "ipv4_only" + ] } \ No newline at end of file