腾讯DNSPOD,阿里DNS,Cloudflare DNS等常见公共DNS服务器如何使用DOH和DOT解析域名

超级简单的用法,使用Curl命令或者流量器都可以

阿里DNS

curl "http://223.5.5.5/resolve?name=a.com&type=1"

curl "http://dns.alidns.com/resolve?name=a.com&type=1"


腾讯DNS

curl 'https://1.12.12.12/dns-query?name=a.com&type=A'

curl 'https://doh.pub/dns-query?name=a.com&type=A'


Cloudflare DNS

curl -H 'accept: application/dns-json' 'https://1.1.1.1/dns-query?name=a.com&type=A' 

curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=a.com&type=A' 



Comments

Popular posts from this blog

IOS小火箭/Shadowsocks无需AppleID即可在线安装!

苹果手机/IOS/IPAD如何离线安装小火箭Shadowrocket.IPA文件?

免费V2Ray节点在线订阅链接,亲测可用 - 22年7月更新