腾讯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
Post a Comment