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

dns-over-https 支持 #439

Closed
xcodebuild opened this issue Jun 22, 2020 · 3 comments
Closed

dns-over-https 支持 #439

xcodebuild opened this issue Jun 22, 2020 · 3 comments
Labels

Comments

@xcodebuild
Copy link

大部分浏览器目前已经支持或者正在支持 DOH(dns-over-https):https://support.mozilla.org/en-US/kb/firefox-dns-over-https

但是经过代理的流量无法使用浏览器端的 DOH,考虑在 whistle 中支持 DOH

@avwo
Copy link
Owner

avwo commented Jun 22, 2020

目前 node 并不支持这个特性,不影响使用等话,等后续支持再加上。

@xcodebuild
Copy link
Author

由于 dns-over-https 本质上就是个 https 请求,所以可能不会在 nodejs 层面支持

例如 curl http://dns.alidns.com/resolve\?name\=www.taobao.com.\&type\=1

{"Status":0,"TC":false,"RD":true,"RA":true,"AD":false,"CD":false,"Question":{"name":"www.taobao.com.","type":1},"Answer":[{"name":"www.taobao.com.","TTL":31,"type":5,"data":"www.taobao.com.danuoyi.tbcache.com."},{"name":"www.taobao.com.danuoyi.tbcache.com.","TTL":31,"type":1,"data":"101.37.183.171"},{"name":"www.taobao.com.danuoyi.tbcache.com.","TTL":31,"type":1,"data":"101.37.183.170"}]}

不过肯定是不影响使用的,只是一个 feature request

@avwo avwo added the feature label Jun 22, 2020
@avwo
Copy link
Owner

avwo commented Jun 26, 2021

@avwo avwo closed this as completed Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants