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

MX and TXT of deepinfo.com in one request: its mail servers and the SPF record that goes with them.

Asks for MX,TXT of deepinfo.com, the two types that describe a domain's mail setup.

The MX entry lists five Google Workspace mail servers (aspmx.l.google.com and its altN backups); the TXT entry holds the SPF policy that authorizes Google's servers (include:_spf.google.com) next to site verification tokens.

Request

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

ParameterValue
domainquerydeepinfo.com
typequeryMX,TXT

Reference updated