diff --git a/servers/bwh-jp-osaka/sing-box/etc/sing-box/config.json.template b/servers/bwh-jp-osaka/sing-box/etc/sing-box/config.json.template index 31fdfe3..d8ea77d 100644 --- a/servers/bwh-jp-osaka/sing-box/etc/sing-box/config.json.template +++ b/servers/bwh-jp-osaka/sing-box/etc/sing-box/config.json.template @@ -13,6 +13,14 @@ } } ], + "dns": { + "servers": [ + { + "type": "local", + "tag": "local" + } + ] + }, "inbounds": [ { "type": "trojan", @@ -94,7 +102,11 @@ "enabled": true, "handshake": { "server": "${REALITY_SERVER_NAME}", - "server_port": 443 + "server_port": 443, + "domain_resolver": { + "server": "local", + "strategy": "prefer_ipv4" + } }, "private_key": "${REALITY_PRIVATE_KEY}", "short_id": [