DNS Lookup Examples · Example 3 of 4 in Several Types in One Request

Five record types of deepinfo.com in one request: A, AAAA, MX, NS and TXT, one responses[] entry each.

Asks for A,AAAA,MX,NS,TXT of deepinfo.com: five types, the documented maximum for one request.

responses[] has five entries, one per type, each with its own rcode, values and raw. Together they show where the domain is hosted (three IPv4 and three IPv6 addresses), who handles its mail (Google), who hosts its DNS (Cloudflare) and its TXT records.

Request

What this example sends. Every parameter is documented on DNS; the exact request is in the code panel.

ParameterValue
domainquerydeepinfo.com
typequeryA,AAAA,MX,NS,TXT

Reference updated