Bulk Domain DNS Lookup - MX, SPF, DMARC Records avatar

Bulk Domain DNS Lookup - MX, SPF, DMARC Records

Pricing

$1.00 / 1,000 domain checkeds

Go to Apify Store
Bulk Domain DNS Lookup - MX, SPF, DMARC Records

Bulk Domain DNS Lookup - MX, SPF, DMARC Records

Look up the public DNS records of a domain list in bulk. Each domain gets its A, AAAA, MX, NS, TXT and CNAME records, with the SPF and DMARC policies parsed. Public DNS only: no WHOIS or registration data. USD 1 per 1,000 domains.

Pricing

$1.00 / 1,000 domain checkeds

Rating

0.0

(0)

Developer

DARIKAMI GmbH

DARIKAMI GmbH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

See the DNS and mail records of a domain list in one run. Each domain gets its A, AAAA, MX, NS, TXT and CNAME records, with the SPF and DMARC policies parsed. The main fields are status, a, aaaa, mx, ns, txt, cname, spf and dmarc. It asks DNS only. It does not read WHOIS or registration data. USD 0.001 per domain (USD 1 per 1,000). A domain that does not exist is a row too and is charged. Free: the note that maxResults stopped a run, an incomplete row, and a text that is no domain name. Input: a list of domain names, for example {"domains": ["github.com", "wikipedia.org", "example.com"]}.

DomainStatusMXSPF allDMARC policy
github.comfoundgithub-com.mail.protection.outlook.com~allquarantine
wikipedia.orgfoundmx-in1001.wikimedia.org~allreject
example.comfound(null MX: takes no mail)-allreject
this-domain-does-not-exist-meniti.invalidnot-found---
not a domaininvalid---

The rows come from a real cloud run of 2026-11-08. The full item is under Output.

Who uses it

  • Mail setup checks: see for a list of domains which have MX records, an SPF policy and a DMARC policy.
  • Domain lists: find the names that no longer resolve, and the name servers of the rest.
  • Security and IT audits: list the p=none DMARC policies and the SPF records that end in +all or have no all.

What it does not do

  • It reads DNS only. It gives no owner, registrar, creation date or expiry date: that is WHOIS or RDAP data, and this actor does not read it.
  • It asks the default resolver of the actor's machine. A record that you see from another place or another resolver can differ.
  • It reads the records at the name you give. It does not try subdomains or the DKIM selectors,
  • SPF and DMARC are parsed from their text. The actor does not check that the policies work: it does not resolve the include: chain and does not count SPF lookups.
  • incomplete means a lookup failed (timeout or server error), and failedLookups names it. Run the domain again later.
  • A record list is cut at 50 records and a TXT value at 1,000 characters; truncated says so.

Input

{
"domains": ["github.com", "wikipedia.org"],
"maxResults": 5000
}
FieldWhat it does
domainsThe domains to check, without http:// or a path. Duplicates and empty entries are skipped. Up to 50,000.
maxResultsThe run checks at most this many domains. Default 5,000.

Output

One item per domain:

{
"domain": "wikipedia.org",
"input": "wikipedia.org",
"status": "found",
"error": null,
"a": ["208.80.154.224"],
"aaaa": ["2620:0:861:ed1a::1"],
"mx": [{ "priority": 10, "exchange": "mx-in1001.wikimedia.org" }],
"ns": ["ns0.wikimedia.org", "ns1.wikimedia.org", "ns2.wikimedia.org"],
"txt": ["google-site-verification=AMHkgs-4ViEvIJf5znZle-BSE2EPNFqM1nDJGRyn2qk", "yandex-verification: 35c08d23099dc863", "v=spf1 include:_cidrs.wikimedia.org ~all"],
"cname": [],
"spf": { "record": "v=spf1 include:_cidrs.wikimedia.org ~all", "all": "~all" },
"spfRecordCount": 1,
"dmarc": { "record": "v=DMARC1; p=reject; rua=mailto:dmarc-rua@wikimedia.org;", "policy": "reject", "subdomainPolicy": null, "pct": null, "hasReportAddress": true },
"failedLookups": [],
"truncated": false,
"source": "public DNS (A, AAAA, MX, NS, TXT, CNAME; SPF and DMARC read from TXT)"
}
  • status: found (at least one record), no-records (the name exists and has none of the six types), not-found (the name does not exist), incomplete or invalid (the text is no domain name; error says why).
  • spf.all is the closing term of the first SPF record. spfRecordCount above 1 is a fault in the domain's DNS.
  • dmarc is read at _dmarc.<domain>. pct is null when the record has no pct tag.
  • An MX with an empty exchange is a null MX (RFC 7505): the domain says it takes no mail.
  • Names are lower case, without the final dot. Names with non-ASCII letters come back in punycode.

Pricing (pay per event)

EventPriceWhen
rowUSD 0.001one domain checked and pushed to the dataset

Free: the note that maxResults stopped the run, an incomplete row (a DNS lookup failed), an invalid input (the text is no domain name), and the domains left untried after DNS failed for 25 domains in a row. 1,000 domains cost USD 1. You pay no more than the maximum charge that you set for a run.

Data source and terms

  • Source: public DNS, read with Node's dns/promises. Each lookup has a timeout of about 10 seconds per DNS server. A domain takes 7 lookups.
  • The actor reads records that any resolver gives out. It does not read WHOIS or RDAP, it does not scan ports and it does not crawl websites.
  • Domain names can name a person. You are responsible for having a lawful basis for the domains that you send.
  • The actor is provided without warranty.

More official-data actors by darikami: European company registers · SEC company fundamentals · Swiss UID validator · French company search. In an AI agent: ask the Apify MCP server (mcp.apify.com) for darikami/domain-dns-checker.