-
Notifications
You must be signed in to change notification settings - Fork 5.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
关于vpn dns #4386
Comments
目前是这样的,暂时达不到你要的结果。 |
非常感谢开发者的付出,后续也试了一下,发现手机浏览器edge,chrome会这样,而firefox不会这样,跟浏览器也有关系 |
Check browser settings. Most chromium ones have dns over https on by default that processes all requests. Turn that off in the browser settings. |
This is about Xray-core and has nothing to do with v2rayNG,
for more information see: XTLS/Xray-core#4543 you can close this issue now. |
各位大佬,后续又把配置文件改进了一下,之前的dns模块是这么写的: { |
我仔细想了想,感觉过程应该是这样的: 使用改进后的配置,由于存在 |
在提出问题前请先自行排除服务器端问题,同时也请通过搜索确认是否有人提出过相同问题。
在使用自定义配置,dns也是开启本地dns了,确实也是由xray core处理,但是发现了一个现象
预期行为
描述你认为应该发生什么
当使用自定义配置文件后,dns请求都被自定义配置中的dns模块接管,对于大部分app使用都没啥问题,包括百度app,但目前发现了一个问题,就是用手机浏览器打开baidu.com,按理说应该这个dns请求应该被xray core的dns模块处理
实际行为
描述实际发生了什么
但实际上这个dns请求依然是被vpn dns处理,当vpn dns为境外dns比如1.1.1.1,显然用app浏览器打开baidu.com就比较慢,当vpn dns为国内dns比如223.5.5.5,打开就很快正常了,也就是说用app浏览器打开baidu.com这个dns请求被vpn dns处理了,而没有被xray core的dns模块处理
复现方法
日志信息
通过
adb logcat -s com.v2ray.ang GoLog V2rayConfigUtilGoLog Main
获取日志。请自行删减日志中可能出现的敏感信息。如果问题可重现,建议先执行
adb logcat -c
清空系统日志再执行上述命令,再操作重现问题。环境信息
额外信息(可选)
The text was updated successfully, but these errors were encountered: