v2fly / v2ray-examples

v2ray-core 的模板们
2.35k stars 740 forks source link

请问如何将远程的本地DNS(127.0.0.1)映射到本地? #61

Open enihcam opened 3 years ago

enihcam commented 3 years ago

这样写可以吗?

{
            "listen": "127.0.0.1",
            "port": 1053,
            "protocol": "dokodemo-door",
            "settings": {
                "address": "127.0.0.1",
                "port": 53,
                "network": "tcp,udp",
                "timeout": 0
            }
}