如果你用 curl:
curl "https://1.1.1.1/dns-query?ct=application/dns-json&name=example.com&type=A" 那么可以得到这样的结果:
{"Status": 0,"TC": false,"RD": true, "RA": true, "AD": true,"CD": false,"Question":[{"name": "example.com.", "type": 1}],"Answer":[{"name": "example.com.", "type": 1, "TTL": 2774, "data": "93.184.216.34"}]} 更多具体细节可以看 CloudFlare 的文档:
https://developers.cloudflare.com/1.1.1.1/dns-over-https/
关于 DNS over HTTPS 的 JSON 格式的具体说明可以见 Google 的文档:
https://developers.google.com/speed/public-dns/docs/dns-over-https

