-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2ray.com/core/app/dns: invalid domain name DNS错误 #2293
Comments
说明一个情况: 你需要确认你描述的invalid domain name警告是否是因此产生的。 附该情况下的客户端log:
|
有一大部分都是这个原因, 请看日志. 有什么办法解决吗?
|
这种情况不需要解决。你应该使用其他工具(nslookup等)检查域名解析问题,并贴出其他部分的日志,因为问题不一定出在域名解析上。 |
插个眼,我遇到的问题也是如此,日志出现一些莫名其妙字符串的域名,然后就报错invalid domain name,也同样是在chrome的地址栏进行直接关键字搜索,请问如何避免呢? |
chrome |
同样的问题,有这样的log |
Invalid domain name will be reported when the domain name is indeed invalid, and they are [info], which doesn't at all means an error. @azazjjyjjy yours seems to be a separate issue and related to mux. try turn it off as a workaround and use a separate issue. Articles related: Issue related: |
提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。
除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。
如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。
4.22.1 服务器与客户端版本一致
v2rayN, 网页和YouTube
域名解析问题, 浏览器包
ERR_CONNECTION_CLOSED
, 检查日志后发现报错如下域名解析正常
服务器端配置:
服务器的resov.conf设置的DNS是1.1.1.1和1.0.0.1. 服务器域名解析正常
客户端配置:
/var/log/v2ray/error.log
文件中。服务器端错误日志:
同上
// 在这里附上服务器端日志
客户端错误日志:
同上
// 在这里附上客户端日志
/var/log/v2ray/access.log
文件中。同上
// 在这里附上服务器端日志
其它相关的配置文件(如 Nginx)和相关日志。
如果 V2Ray 无法启动,请附上
--test
输出。通常的命令为
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
。请按实际情况修改。通常的命令为
journalctl -u v2ray
。请预览一下你填的内容再提交。
The text was updated successfully, but these errors were encountered: