Skip to content

android版本运行时仍然查询本地dns #692

Answered by Waopes
Waopes asked this question in Q&A
Discussion options

You must be logged in to vote

在Android 9中测试成功,引起代码不被执行的原因是配置文件中缺少了DNS模块,需要加上
dns:{}
本问题的出现应该与系统版本、代码修改无关。
测试似乎表明,在配置文件中添加的DNS解析服务在设置代理情况下可用,但不能监听本地53端口而对外的单独提供DNS解析服务(系统限制)。

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
5 replies
@Waopes
Comment options

@Waopes
Comment options

@CalmLong
Comment options

@Waopes
Comment options

@Waopes
Comment options

Comment options

You must be logged in to vote
1 reply
@Waopes
Comment options

Comment options

You must be logged in to vote
6 replies
@Waopes
Comment options

@kslr
Comment options

kslr Feb 21, 2021
Maintainer

@CalmLong
Comment options

@Waopes
Comment options

@CalmLong
Comment options

Answer selected by Waopes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants