DNS Records Lookup - All Record Types for Any Domain avatar

DNS Records Lookup - All Record Types for Any Domain

Pricing

$20.00 / 1,000 domain lookups

Go to Apify Store
DNS Records Lookup - All Record Types for Any Domain

DNS Records Lookup - All Record Types for Any Domain

Look up every DNS record type for a domain in one call. Input: domains (list). Output: JSON per domain with A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, PTR records and values. Cheap pay-per-result: $0.02 per domain checked.

Pricing

$20.00 / 1,000 domain lookups

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

DNS Records Lookup

Resolve every DNS record type for a domain — A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV — in a single call.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

  • All record types resolved per domain in one pass (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV)
  • Best-effort reverse (PTR) lookup for the domain's A records
  • Bulk mode: pass an array of domains, capped by maxDomains
  • Graceful handling of missing records (empty arrays / null, never a crash)
  • Optional recordTypes filter to resolve only the types you need

Input

{
"domains": ["github.com", "cloudflare.com"],
"recordTypes": ["A", "MX", "TXT"],
"maxDomains": 50
}

Single domain works too:

{ "domain": "google.com" }

Output

One dataset item per domain:

{
"domain": "github.com",
"resolved": true,
"records": {
"A": ["140.82.112.3"],
"AAAA": [],
"MX": [{ "exchange": "aspmx.l.google.com", "priority": 1 }],
"TXT": ["v=spf1 ip4:192.30.252.0/22 include:_spf.google.com ~all"],
"NS": ["dns1.p08.nsone.net"],
"CNAME": null,
"SOA": { "nsname": "dns1.p08.nsone.net", "hostmaster": "hostmaster.nsone.net" },
"CAA": [{ "critical": 0, "issue": "digicert.com" }],
"SRV": []
},
"reverse": [{ "ip": "140.82.112.3", "hosts": ["lb-140-82-112-3-iad.github.com"] }],
"resolvedAt": "2026-06-24T00:00:00.000Z"
}

Pricing: pay-per-event — one charge per domain checked.

Pricing

$0.02 per domain checked — billed as the domain-checked event, all record types included in the one charge. Bulk runs are capped by maxDomains, which is also your budget cap.

FAQ

How do I look up all DNS records for a domain at once? Pass the domain — A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, and SRV all resolve in one pass, in one JSON record, instead of nine separate dig commands.

How do I check a domain's MX records for email setup? Read records.MX — each entry has exchange and priority. Empty MX with an A record present is worth knowing too: mail may still deliver via implicit MX.

How do I verify my SPF, DKIM, or verification TXT records propagated? records.TXT returns every TXT value verbatim — SPF strings, site-verification tokens, DMARC (query the _dmarc subdomain as its own lookup).

Can I resolve only the record types I need? Yes — set recordTypes (e.g. ["A","MX","TXT"]). Leave it empty to resolve everything.

What happens on a domain with missing records? Missing types come back as empty arrays or null — never a crash — and a best-effort reverse (PTR) lookup of the A records is included in reverse.

For AI agents

This Actor is built to be called by software, not just by people.

  • Mount it directly as an MCP tool — no Store search, no ranking, just this one tool: https://mcp.apify.com/?actors=eliai/dns-records-lookup
  • Or call it over HTTP and get the results in the same request: POST https://api.apify.com/v2/acts/eliai~dns-records-lookup/run-sync-get-dataset-items
  • Pay with x402, without an Apify account. This Actor is whitelisted for agentic payments, so an agent holding USDC on Base can buy a prepaid token and spend it here. The minimum purchase is $1, the token balance is an absolute spending cap, and it expires 14 days after purchase.
  • Costs are predictable before you call. Pricing is pay-per-event (see Pricing above), so an agent can budget a run in advance instead of discovering the bill afterwards.
  • Send only the field you mean. If you pass the bulk field, it is used on its own; the single-value field is a fallback, never merged into your request. You are charged for the items you sent and nothing else.