Skip to content
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

使用AndroidDnsServer.defaultResolver()进行dns解析和直接使用域名进行访问有差别吗? #16

Open
kris520 opened this issue Mar 21, 2017 · 1 comment

Comments

@kris520
Copy link

kris520 commented Mar 21, 2017

使用AndroidDnsServer.defaultResolver()进行dns解析得到ip地址进行访问,和直接使用域名进行访问,两者之间有什么差别吗?

@jemygraw
Copy link
Contributor

jemygraw commented Jul 4, 2017

没有太大的区别,主要是defaultResolver会对解析结果的TTL规整为标准的600s,避免被本地localdns篡改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants