cf提供的查询dns的http接口:
curl -H "accept: application/dns-json" "https://cloudflare-dns.com/dns-query?name=example.com&type=MX"
The record types supported are: A AAAA CAA CNAME DS DNSKEY MX NS NSEC NSEC3 RRSIG SOA TXT