-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
custom DNS settings in custom config do not work at all when "local dns" is enabled #3670
Comments
it's true |
also we need that dns query will be resolve trough proxy tunnel it self ! |
Check the code here, there are some changes to the configuration file when this is enabled. Using the in-app function |
i'm not able to see these changes when using Export full configuration. Are you saying this is expected behavior or should I look into this code to fix the bug? |
I confirm @2dust |
在提出问题前请先自行排除服务器端问题,同时也请通过搜索确认是否有人提出过相同问题。
预期行为 (expected behavior)
DNS settings can be customized using JSON subs, just like with regular core.
实际行为 (actual behavior)
When using a JSON subscription or custom JSON config with
dns
section, and enabling the "enable local dns" option, v2rayNG fails all DNS queries by timeout/hang.复现方法 (reproduction method)
contents of json subscription:
dig google.com
hanging in termux, similar behavior from chrome (tried with/without chrome's DoH)日志信息
There are no relevant logs. The core starts successfully and then no logs are printed. The log output is identical to when it works (step 4) vs when it doesn't work (step 3).
通过
adb logcat -s com.v2ray.ang GoLog V2rayConfigUtilGoLog Main
获取日志。请自行删减日志中可能出现的敏感信息。如果问题可重现,建议先执行
adb logcat -c
清空系统日志再执行上述命令,再操作重现问题。环境信息
v2rayng 1.9.6, tested with two completely different servers and protocols, one of them has no server side routing
额外信息(可选)
changing the dns server in the json config makes no difference
the same config works ok when launched with core directly (checking with
curl -x socks5h://..
)The text was updated successfully, but these errors were encountered: