Closed mega-optimus closed 1 year ago
========== Update:
Removing this line in "dns" section solves the problem, anybody knows why?
"fallbackStrategy": "Disabled"
========== Update: changing "router" rule like this, moves baidu.com
from [direct]
to [proxy]
, which is unexpected.
"code": "cn" => "countryCode": "cn",
========== Problem fixed. Keep the issue open for a while, in case someone wants to investigate, thank you !
Documentation is still incomplete and may contain some errors.
Documentation is still incomplete and may contain some errors.
Not about documentation. I'm following the generated schema https://github.com/EHfive/v2ray-jsonschema and v2ray source code. Note that the above mentioned fields are actually valid fields. However their roles are confusing.
I had the same problem and confirmed that this is a bug with the documentation.
I saw entries like this in error.log:
2024/06/03 13:00:34 [Info] features: You are using a deprecated feature: DNS disableCache settings. Please update your config file with latest configuration format, or update your client software.
2024/06/03 13:00:34 [Info] features: You are using a deprecated feature: DNS disableFallback settings. Please update your config file with latest configuration format, or update your client software.
2024/06/03 13:00:34 [Info] features: You are using a deprecated feature: DNS server skipFallback settings. Please update your config file with latest configuration format, or update your client software.
It is accompanied by records like:
2024/06/03 13:00:34 [Info] app/dns: DNS: created UDP client initialized for 8.8.8.8:53
2024/06/03 13:00:34 [Debug] app/dns: using default domain matcher
2024/06/03 13:00:39 [Info] features/routing/dns: resolve ip for *****.org > empty response
It should be the deprecated settings that have not been marked in the document that caused the DNS function module to malfunction
你正在使用哪个版本的 V2Ray?
V5.4.1
你的使用场景是什么?
"domainStrategy": "IpOnDemand"
Chrome -> [socks5] -> V2Ray -> [VMess/QUIC]
embedded DNS pointing to localhost or [8.8.8.8], both result in "empty response"
你看到的异常现象是什么?
[Info] features/routing/dns: resolve ip for raw.githubusercontent.com > empty response
你期待看到的正常表现是怎样的?
DNS resolves correctly.
请附上你的配置
服务端配置:
客户端配置:
请附上出错时软件输出的错误日志
服务器端错误日志:
客户端错误日志:
请附上访问日志
其它相关的配置文件(如 Nginx)和相关日志
如果 V2Ray 无法启动,请附上
--test
命令的输出如果 V2Ray 服务运行异常,请附上 journal 日志