From b98cfa500defb0995d037382765528fb5797304e Mon Sep 17 00:00:00 2001 From: AliBelali <121201502+AliBelali@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:27:08 +0330 Subject: [PATCH] Update default.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In scenarios where using domainStrategy: "AsIs", the geoip database is sometimes ignored, and only the geosite database is checked. To ensure that both geosite and geoip databases are considered, it’s recommended to use domainStrategy: "IPIfNonMatch". surprisingly I discoverd when sniffing is enabled at client side, multi routing does not work properly (just sometimes) but after disabling sniffing at client side, multirouting works perfectly fine. --- sub/default.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sub/default.json b/sub/default.json index d98a03ef..7278803a 100644 --- a/sub/default.json +++ b/sub/default.json @@ -25,7 +25,7 @@ "tls", "fakedns" ], - "enabled": true + "enabled": false }, "tag": "socks" }, @@ -74,7 +74,7 @@ } }, "routing": { - "domainStrategy": "AsIs", + "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", @@ -84,4 +84,4 @@ ] }, "stats": {} -} \ No newline at end of file +}