Worked examples for the DNS lookup: one for each common record type, then several types in one request, then the answers you get for a name without records and for a domain that does not exist.

Every example is a real request with the response the API returned on September 24, 2026. DNS records change, so the same request can return other values today. type takes record type names, comma-separated; each request uses one quota unit, whatever the number of types.

Each requested type gets one entry in responses[]: values holds the parsed records, raw the same answer in zone-file format with each record's TTL, rcode the DNS response code and server the resolver that answered. E-mail addresses inside records are shown as user@<domain>.

Endpoint
DNS

Record Types

ExampleParamValue
A Records of a Domaindomain
type
deepinfo.com
A
AAAA Records: IPv6 Addressesdomain
type
cloudflare.com
AAAA
MX Records: Mail Serversdomain
type
gmail.com
MX
NS Records: Name Serversdomain
type
deepinfo.com
NS
TXT Recordsdomain
type
deepinfo.com
TXT
CNAME Record of a Host Namedomain
type
www.github.com
CNAME
SOA Record: Zone Authoritydomain
type
deepinfo.com
SOA
CAA Records: Allowed Certificate Authoritiesdomain
type
google.com
CAA
SRV Record of a Servicedomain
type
_imaps._tcp.gmail.com
SRV
PTR Record: Reverse DNSdomain
type
8.8.8.8.in-addr.arpa
PTR
DMARC Policy in a TXT Recorddomain
type
_dmarc.google.com
TXT
DS Record: DNSSEC Delegationdomain
type
cloudflare.com
DS
DNSKEY Records: DNSSEC Keysdomain
type
cloudflare.com
DNSKEY

Several Types in One Request

ExampleParamValue
IPv4 and IPv6 Addresses Togetherdomain
type
cloudflare.com
A,AAAA
Mail Setup: MX and TXTdomain
type
deepinfo.com
MX,TXT
Five Types at Oncedomain
type
deepinfo.com
A,AAAA,MX,NS,TXT
A Host Name Behind a CNAMEdomain
type
www.github.com
A,CNAME

Special Answers

ExampleParamValue
A Name Without Records of the Requested Typedomain
type
_dmarc.google.com
A
A Domain That Is Not Registereddomain
type
no-such-domain-deepinfo-docs.com
A
Null MX: A Domain That Accepts No Maildomain
type
example.com
MX

Reference updated