Tools / dns.lookup

DNS records

dns.lookup

A, AAAA, MX, TXT, NS, CNAME and CAA records for a domain, with SPF and DMARC parsed out.

NetworkLaunch set1 unit per call5 min cacheMCP: dns_lookupv1.0.0

When to use it

Use to check where a domain points, which mail servers it uses, or whether SPF and DMARC are set. Answers come from a public recursive resolver, so changes may take time to show.

Input

FieldTypeDescription
name *string (3+ chars, ≤ 253 chars)Domain name, e.g. example.com.
typesarray of one of A, AAAA, MX, TXT, NS, CNAME, CAARecord types to fetch. Default: ["A","AAAA","MX","TXT","NS"].

* required

Output

Returns data with: name, status (NOERROR or NXDOMAIN), records: {type: [...]}, spf, dmarc: {tags}.

Request

curl -X POST https://agentops.tools/v1/dns.lookup \
  -H 'content-type: application/json' \
  -d '{"name":"example.com"}'

Over MCP the tool is named dns_lookup. Over A2A its skill id is dns.lookup. Same input, same envelope.

Try it

Counts against your rate limit.

Sources