-
Notifications
You must be signed in to change notification settings - Fork 83
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
happy-dns如何与cdn配合? #1
Comments
优先选择local dns, cdn会跟据这个dns server请求IP位置返回就近节点。然后114 也是全国多处节点,cdn根据dns 请求来源 来判断地址。httpdns 就直接向cdn 请求最近的IP。 |
这个库 好处是 1 当本地dns 服务器解析不出来时 换成114 2)有些劫持判断,如果是劫持就换解析服务器 3 可以灵活接入多个dns 服务器 |
也可以用阿里的dns, 支持edns, 解析的结果比较准确。 |
@longbai 请问你说的“有些劫持判断”怎么判断的呢? |
@pingguoilove 看代码 hijack 部分 |
@longbai 看到了,谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如需要定位到就近的cdn节点
The text was updated successfully, but these errors were encountered: