Closed moetayuko closed 1 year ago
请问楼主,为啥我日志中没有dns记录? 比如类似你上面的: ... [Debug] app/dns: domain google.com will use DNS in order: [UDP:1.1.1.1:53 UDP:114.114.114.114:53 UDP:8.8.8.8:53 localhost] [Debug] app/dns: UDP:1.1.1.1:53 querying DNS for: google.com. ...
我的日志级别也是debug,不管v2rayN还是命令行中运行都看不到dns的记录,请问该如何设置?
看起来是个bug。 逻辑上,应该是trojan模块获得的信息传递给dns模块,dns模块识别认为出错。 这两个模块都要检查,才能搞清楚问题在哪里。我倾向于认为trojan模块可能没问题,而是dns模块处理返还的数据没处理好。 要解决的话可能要搞出来一个test版本的v2ray给题主运行,把trojan和dns处理的数据都log下来。因为这个问题不是普遍的。
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
5.1.0仍可复现
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
bump
What version of V2Ray are you using?
What's your scenario of using V2Ray?
proxychains curl google.com
What problems have you encountered?
outbound为trojan协议时内置dns服务会返回
context deadline exceeded
错误(详见下面log),在配置了多个备选dns服务的情况下会一直retry到最后一个失败后再返回内容。vmess协议无此问题。值得注意的时,
context deadline exceeded
错误发生在A记录返回成功之后,但与vmess的日志对比发现trojan的日志里完全没有AAAA记录的输出,所以猜测该报错是否实为AAAA解析失败?What's your expectation?
outbound为trojan协议时能正常完成dns查询。
Please attach your configuration here
Server configuration:
使用机场,无法提供。
Client configuration:
基于https://github.com/v2fly/v2ray-core/blob/master/release/config/config.json 修改log level并分别增加如下两个outbound用于对比测试:
Please attach error logs here
Server error log:
使用机场,无法提供。
Client trojan log:
Please attach access log here
Client vmess log:
Other configurations (such as Nginx) and logs here
If V2Ray cannot start up, please attach output from
--test
commandIf V2Ray service is abnormal, please attach journal log here