diff --git a/app/templates/singbox/default.json b/app/templates/singbox/default.json index e5594628d..e8b052afd 100644 --- a/app/templates/singbox/default.json +++ b/app/templates/singbox/default.json @@ -7,22 +7,14 @@ "servers": [ { "tag": "dns-remote", - "address": "1.1.1.2", - "detour": "proxy" + "type": "udp", + "server": "8.8.8.8" }, { "tag": "dns-local", - "address": "local", - "detour": "direct" - } - ], - "rules": [ - { - "outbound": "any", - "server": "dns-local" - } - ], - "final": "dns-remote" + "type": "local" + } + ] }, "inbounds": [ { @@ -46,20 +38,21 @@ ], "outbounds": [ { - "type": "selector", "tag": "proxy", - "outbounds": null, + "type": "selector", + "outbounds": [], "interrupt_exist_connections": true }, { + "tag": "Best Latency 🔥", "type": "urltest", - "tag": "Best Latency", - "outbounds": null + "outbounds": [], + "url": "https://www.gstatic.com/generate_204" }, { - "type": "direct", - "tag": "direct" - } + "tag": "direct", + "type": "direct" + } ], "route": { "rules": [ @@ -72,9 +65,9 @@ "action": "hijack-dns" } ], - "final": "proxy", - "auto_detect_interface": true, - "override_android_vpn": true + "final": "proxy", + "default_domain_resolver": "dns-remote", + "auto_detect_interface": true }, "experimental": { "cache_file": { @@ -82,4 +75,4 @@ "store_rdrc": true } } -} +} \ No newline at end of file