v2ray icon indicating copy to clipboard operation
v2ray copied to clipboard

在v2ray中的DNS怎么改都不生效,恳请知道的大神指点一二..

Open rianwg opened this issue 2 years ago • 0 comments

服务器的 /etc/resolv.conf 文件中的DNS,已经修改为

nameserver 8.8.8.8 nameserver 8.8.4.4

在v2ray的配置config.json里,修改如下,

"dns": { "servers": [ "https+local://8.8.4.4/dns-query", "8.8.8.8", "8.8.4.4", "localhost" ] },

但在检测中还是香港的DNS。

也试过改为这们的, "dns": { "servers": [ "https://8.8.4.4/dns-query", "8.8.8.8", "8.8.4.4", "localhost" ] },

但在检测中还是香港的DNS。

恳请知道的大神指点一二。

rianwg avatar Nov 01 '23 14:11 rianwg