Lowcountry Tech Solutions

Data tools

Check DMARC, SPF and DKIM for a list of domains

You have a list of domains: your company's own, your clients', or a list of prospects. For each one you want to know who handles its mail, whether its SPF and DMARC records stop others from sending as that domain, and what is missing. This page walks through one run of our DMARC, SPF & DKIM Checker on Apify, with the output it returned.

It reads public DNS records only. It sends no email, connects to no mail server and outputs no email addresses.

What you give it

A list of domains, one per line. A column copied from a spreadsheet works: URLs and email addresses are reduced to their domain and a leading www. is dropped. Subdomains are checked as given, which suits sending subdomains such as mail.example.com.

For a list of 500, set Maximum domains (maxItems) to 500. The default stops at 20; because you pay per domain, this field also caps the cost of a run. If you know a DKIM selector a domain uses (the s= value in the DKIM-Signature header of a mail from it), add it under dkimSelectors.

{
  "domains": [
    "apify.com",
    "github.com",
    "google.com"
  ],
  "dkimSelectors": [],
  "maxItems": 500
}

In a real run the domains list holds your 500 domains; the three here are the ones in the tool's own test, shown below.

What comes back

One row per domain. These are the rows for the three test domains, produced by the tool's fixture test from DNS answers captured on Oct 20, 2026. The domains' records may have changed since.

DomainGradeMail providerSPFDMARCDKIM found onIssues
apify.comA (100)Google Workspace-all, 10 lookupsreject, reports requestedgooglenone
github.comB (77)Microsoft 365~all, 10 lookupsquarantine (subdomains: reject), reports requestedgoogle, selector1, k1, k2, s1, s2No MTA-STS record; No TLS-RPT record
google.comB (82)Google Workspace~all, 1 lookupreject, reports requestednone on the checked selectorsNo DKIM key on the checked selectors

Each row has 24 fields. This is the full record for github.com, as the tool returned it. The DMARC report addresses are masked to *@github.com, and dmarcRua says only whether reports are requested.

{
  "domain": "github.com",
  "hasMx": true,
  "mxRecords": [
    { "priority": 0, "host": "github-com.mail.protection.outlook.com" }
  ],
  "mailProvider": "Microsoft 365",
  "mailGateway": null,
  "sendingServices": ["Zendesk", "Salesforce", "Mailchimp", "Marketo", "SendGrid"],
  "domainVerifications": ["Microsoft 365", "Adobe", "Apple", "Atlassian", "DocuSign", "Meta", "Google Search Console", "Miro", "OpenAI", "Stripe"],
  "spfRecord": "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",
  "spfValid": true,
  "spfAllMechanism": "~all",
  "spfLookupCountEstimate": 10,
  "dmarcRecord": "v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:*@github.com; ruf=mailto:*@github.com; fo=1",
  "dmarcPolicy": "quarantine",
  "dmarcSubdomainPolicy": "reject",
  "dmarcPct": 100,
  "dmarcRua": true,
  "dkimSelectorsFound": ["google", "selector1", "k1", "k2", "s1", "s2"],
  "mtaSts": false,
  "tlsRpt": false,
  "bimi": false,
  "score": 77,
  "grade": "B",
  "issues": ["No MTA-STS record", "No TLS-RPT record"],
  "scrapedAt": "2026-10-20T12:00:00.000Z"
}

Note spfLookupCountEstimate: SPF evaluation may need at most 10 DNS lookups, counted through every include:. When this was captured, github.com sat exactly at the limit, so one more included sender would have made its SPF record fail. The tool counts this recursively for every domain.

How the grade works

The grade is our own published rubric, not an official standard. It is weighted toward what stops spoofing: an enforcing DMARC policy and a strict SPF record. Use the individual fields if you prefer your own scoring.

CheckPoints
SPF: one valid record 10, plus -all 20, ~all 17, ?all 5, no all-mechanism 5, +all 0. Invalid or several records: 5 in total. More than 10 lookups: at most 10.30
DMARC: valid record 10, plus p=reject 25 or p=quarantine 20, reports requested 5, pct=100 with an enforcing policy 5. Invalid or several records: 5 in total.45
DKIM key found on a checked selector10
MTA-STS record5
TLS-RPT record5
BIMI record5

A is 85 and up, B 70 to 84, C 50 to 69, D 30 to 49, F below 30. SPF +all is always F.

Worked through for github.com: SPF 10 + 17 for ~all = 27; DMARC 10 + 20 for quarantine + 5 for reports + 5 for pct=100 = 40; DKIM 10; no MTA-STS, TLS-RPT or BIMI. 27 + 40 + 10 = 77, a B.

What 500 domains cost

You need an Apify account, and Apify bills you for each domain checked; you pay us nothing directly. Prices as listed on Dec 3, 2026:

Your Apify planPer 1,000 domains500 domains
Free$2.70$1.35
Bronze$2.43$1.22
Silver$2.16$1.08
Gold and above$1.89$0.95

Each run also costs $0.00005 to start. Amounts for 500 domains are rounded to the cent. The tool's page on the Apify Store shows the current price.

In our daily test, a run of three domains finishes in about 12 seconds.

Limits

  • DKIM is checked on known selectors only. DNS cannot list a domain's DKIM keys, so the tool tries 16 common selectors (google, selector1, selector2, k1, k2, s1, s2, default, dkim, mail, smtp, mandrill, protonmail, zoho, fm1, sig1) plus any you add. "Not found" means not found on those selectors, not proof that the domain does not sign its mail. For that reason DKIM is worth only 10 of the 100 points.
  • MTA-STS is read from its DNS record. The policy file on the mta-sts subdomain is not fetched.
  • Provider detection uses known MX and SPF patterns. Self-hosted or unusual setups show null.
  • Results reflect DNS at the time of the run. A recent change can take up to the record's TTL to show.
  • The DNS answers come from Cloudflare's public resolver, with Google Public DNS as a fallback. Cloudflare's terms do not allow using those answers to train AI models, and the same applies to your use of the results.

Run it from your code or an AI assistant

By API

With your Apify API token in APIFY_TOKEN, start a run, then fetch the rows when it has finished. maxTotalChargeUsd caps what the run can cost; 1.50 covers 500 domains on the Free plan.

curl -X POST "https://api.apify.com/v2/actors/lowcountrytech~email-auth-checker/runs?maxTotalChargeUsd=1.50" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["apify.com", "github.com", "google.com"], "maxItems": 500}'

# The answer describes the run: note data.id and data.defaultDatasetId.
# Check the run until data.status is SUCCEEDED:
curl -H "Authorization: Bearer $APIFY_TOKEN" \
  "https://api.apify.com/v2/actor-runs/RUN_ID"

# Then download the rows as CSV (or format=json, format=xlsx):
curl -H "Authorization: Bearer $APIFY_TOKEN" \
  "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv" > domains.csv

For a short list, one call can wait for the run (up to 300 seconds) and return the rows directly: send the same request to …/run-sync-get-dataset-items?format=csv in place of …/runs.

Through MCP

Our listing in the MCP Registry, com.lowcountrytechsolutions/data-tools, points at Apify's hosted MCP server with all 23 of our tools. To load this one alone, add this server URL to your MCP client:

https://mcp.apify.com?tools=lowcountrytech/email-auth-checker

The tool appears as lowcountrytech--email-auth-checker. Your MCP client signs you in to your own Apify account, or you pass your API token as a Bearer header; runs are billed to that account at the Store price.

DMARC, SPF & DKIM Checker on the Apify Store has the full field list and the current price. All our data tools are on one page.

Need a field or a check this doesn't cover? Email us and we'll say plainly whether we can add it.

Lowcountry Tech Solutions LLC is an independent developer on the Apify Store and is not affiliated with Apify.