Bulk DNS & Email Authentication Checker (SPF, DMARC, DKIM, MX) avatar

Bulk DNS & Email Authentication Checker (SPF, DMARC, DKIM, MX)

Pricing

$1.00 / 1,000 domain checkeds

Go to Apify Store
Bulk DNS & Email Authentication Checker (SPF, DMARC, DKIM, MX)

Bulk DNS & Email Authentication Checker (SPF, DMARC, DKIM, MX)

Check SPF, DMARC, DKIM and MX for a list of domains. Returns one row per domain with a pass/warn/fail grade and the reasons, plus NS and A/AAAA records. Plain public DNS, no key. $1 per 1,000 domains; invalid names are free.

Pricing

$1.00 / 1,000 domain checkeds

Rating

0.0

(0)

Developer

Mossfetch

Mossfetch

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

SPF checker, DMARC checker and DKIM probe for many domains at once: bulk email authentication audit with a pass/warn/fail grade. Use it when you need to audit email authentication or find missing or weak SPF and DMARC across many domains. Give it a list of domains. Get one row per domain with A/AAAA, NS, MX, SPF (parsed, top-level DNS-lookup count, all qualifier), DMARC (policy, pct, whether rua is present) and DKIM (12 common selectors), plus a pass/warn/fail grade with the reasons.

Who it's for

  • Email deliverability and security teams checking SPF and DMARC before a policy change.
  • MSPs and agencies auditing the domains of many clients in one run.
  • Sales and research teams who want to know which prospects have no or weak email authentication.

Try it in one click

The input is prefilled with 3 domains (google.com, github.com, example.com). Press Start: it costs about $0.003.

Input

FieldDefaultNotes
domainsrequiredDomains, URLs or emails (reduced to the domain)
dkimSelectors12 common selectorsAdd your own selector names to probe them
concurrency25Domains checked in parallel, max 50
timeoutSecs4Wait per DNS answer before marking it TIMEOUT
dnsServerssystem resolverOptional resolver IPs

Output (per domain)

domain, grade, issues[], status (ok|partial|error), error (NXDOMAIN, TIMEOUT, INVALID_DOMAIN...), a, aaaa, ns, mx[], spf{}, dmarc{}, dkim{}

Failures are per row: one bad domain never stops the run.

Sample output

One real row from a run of the prefilled input (github.com):

{
"domain": "github.com",
"status": "ok",
"error": null,
"grade": "pass",
"issues": [],
"a": [
"140.82.114.4"
],
"aaaa": [],
"ns": [
"dns1.p08.nsone.net",
"dns2.p08.nsone.net",
"dns3.p08.nsone.net",
"dns4.p08.nsone.net",
"ns-1283.awsdns-32.org",
"ns-1707.awsdns-21.co.uk",
"ns-421.awsdns-52.com",
"ns-520.awsdns-01.net"
],
"mx": [
{
"priority": 0,
"host": "github-com.mail.protection.outlook.com"
}
],
"spf": {
"found": true,
"record": "v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all",
"all": "~",
"lookups": 8,
"tooManyLookups": false,
"multiple": false
},
"dmarc": {
"found": true,
"record": "v=DMARC1; p=quarantine; sp=reject; pct=100; rua=[redacted]; ruf=[redacted]; fo=1",
"policy": "quarantine",
"subdomainPolicy": "reject",
"pct": 100,
"ruaPresent": true
},
"dkim": {
"selectorsChecked": 12,
"selectorsFound": [
"google",
"selector1",
"k1",
"k2",
"s1",
"s2"
],
"keyType": "rsa"
}
}

Grading

  • fail: no SPF, multiple SPF, >10 top-level SPF lookups (nested includes are not expanded), +all, no DMARC, invalid DMARC policy
  • warn: ?all, DMARC p=none, pct<100, no rua, no MX, no DKIM at common selectors
  • pass: none of the above

DKIM is only checked at common selectors; a custom selector will not be found.

Data source and licence

Plain public DNS queries (A, AAAA, NS, MX, TXT) via the standard resolver. No websites are accessed. DNS data carries no licence. No WHOIS/RDAP. DMARC rua/ruf addresses are never output (only whether they exist), so no personal data is returned.

Pricing

Pay per event: $1 per 1,000 domains checked. Invalid domain names are free. Example: 500 client domains cost $0.50.

FAQ

Why does a domain show "no DKIM key at common selectors"? DKIM lives at a selector name only the sender knows. The actor probes 12 common ones (default, google, selector1, selector2, k1, k2, mail, s1, s2, dkim, mandrill, smtp). If the domain uses a custom selector, add it to dkimSelectors.

Are DMARC report addresses (rua/ruf) shown? No. They are redacted; the output only says whether a rua address exists (ruaPresent).

Does it count nested SPF includes? No. It counts the top-level DNS lookups in the SPF record; nested includes are not expanded.

Use it from code (API)

curl -X POST "https://api.apify.com/v2/acts/mossfetch~dns-email-auth-check/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domains":["example.com","github.com"]}'

Or with the JavaScript client: await new ApifyClient({ token }).actor('mossfetch/dns-email-auth-check').call(input), then read defaultDatasetId.

Use in Make, n8n or Zapier

Run this Actor from Make, n8n or Zapier with an Apify account: add the Apify "Run Actor" step and select or enter the Actor mossfetch/dns-email-auth-check (Actor ID yIfe6LwhKIInKPD98). Pass the input as JSON, then read the dataset in the next step. Nothing else to install.