diff --git a/sing-box/Head.conf b/sing-box/Head.conf index 0900211..110840f 100644 --- a/sing-box/Head.conf +++ b/sing-box/Head.conf @@ -3,6 +3,12 @@ "timestamp": true }, "experimental": { + "cache_file": { + "enabled": true, + "path": "cache.db", + "cache_id": "my_profile", + "store_fakeip": false + }, "clash_api": { "external_controller": "127.0.0.1:9090", "external_ui": "ui", @@ -10,10 +16,6 @@ "external_ui_download_url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip", "external_ui_download_detour": "direct", "default_mode": "rule" - }, - "cache_file": { - "enabled": true, - "store_fakeip": false } }, "dns": { @@ -30,11 +32,6 @@ } ], "rules": [ - { - "outbound": "any", - "server": "dns_direct", - "disable_cache": true - }, { "rule_set": "geosite-cn", "server": "dns_direct" @@ -55,17 +52,6 @@ "final": "dns_direct", "strategy": "ipv4_only" }, - "route": { - "rules": [ - { - "action": "sniff" - }, - { - "protocol": "dns", - "action": "hijack-dns" - } - ] - }, "inbounds": [ { "tag": "tun-in",