Email Domain Auth Auditor avatar

Email Domain Auth Auditor

Pricing

from $100.00 / 1,000 domain auditeds

Go to Apify Store
Email Domain Auth Auditor

Email Domain Auth Auditor

Audits email authentication (SPF, DMARC, DKIM, MX, MTA-STS, TLS-RPT, BIMI) for one domain or a bulk list, with a deterministic 0 to 100 score and grade per domain. Built for agencies and deliverability consultants.

Pricing

from $100.00 / 1,000 domain auditeds

Rating

0.0

(0)

Developer

Jason Ramirez

Jason Ramirez

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Bulk SPF, DKIM and DMARC check for up to 1,000 domains in one run. Every domain gets a 0 to 100 configuration score and a letter grade with the specific issues listed, so agencies and deliverability consultants can audit a whole client list at once instead of checking records one domain at a time.

An Apify Actor for agencies and deliverability consultants auditing client domains in bulk. It reads public DNS through Cloudflare DoH with Google DoH fallback. No service credentials are needed for the DNS checks. It emits one dataset item per normalized, deduplicated domain.

Input

{
"domains": ["https://Example.com/path", "example.org"],
"selectors": ["custom2026"]
}

domains is required, with 1 to 1000 strings before deduplication. Protocols, paths, queries, fragments and trailing dots are stripped; names are lowercased and international names converted to ASCII. Invalid names reject the input before DNS queries. Ports and email addresses are not accepted. Optional selectors extend the built-in list: google, default, selector1, selector2, k1, s1, mail, dkim.

Output

FieldContents
domain, checkedAtNormalized domain and ISO timestamp
spfpresent, first record or null, issues, lookupCountEstimate, all mechanism or null
dmarcpresent, policy, pct (default 100), alignment.spf/dkim (default r), reporting.aggregate/forensic booleans, issues
dkimselectorsFound and selectorsProbed arrays
mxpresent, provider (Google, Microsoft 365, other, none), hosts
mtaSts, tlsRpt, bimiEach contains a DNS record presence boolean
score, gradeDeterministic configuration score 0 to 100 and A/B/C/D/F
issuesObjects containing severity, code and factual message
summaryOne sentence counting configuration findings
errorOn DNS failure, replaces check results; domain and checkedAt remain

Reporting address values are not emitted. SPF record text is emitted. DoH answers are not stored verbatim. A failed DNS query after both providers fail produces a domain error item and the next domain continues. Dataset or key-value storage failures propagate rather than being mislabeled as DNS failures.

The final summary is logged and stored as LAST_RUN_SUMMARY in the Actor key-value store:

{"runAt":"2026-11-15T00:00:00.000Z","domainsRequested":3,"domainsAudited":2,"domainsFailed":0}

This example represents three input strings with one duplicate. Requested counts raw input entries; audited and failed count unique domains.

Scoring rubric

Start at 100, subtract each distinct issue code once, clamp to zero. Weights live in the single ISSUE_WEIGHTS object in src/score.js. Optional configuration practices carry small weights; this score is a project rubric, not a standards compliance certification.

CodeDeductionTrigger
SPF_MISSING20No SPF record
SPF_MULTIPLE20More than one SPF record
SPF_LOOKUPS10More than ten direct DNS lookup terms
SPF_UNSAFE_ALL10+all, all or ?all
SPF_NO_ALL5No all mechanism
DMARC_MISSING25No DMARC record
DMARC_MULTIPLE15More than one DMARC record
DMARC_POLICY15Absent or invalid policy
DMARC_MONITOR10Policy none
DMARC_PCT5Invalid percentage or below 100
DMARC_ALIGNMENT5Invalid alignment tag
DMARC_REPORTING5No nonempty rua or ruf tag
DKIM_NOT_FOUND10No key found for probed selectors
MX_MISSING10No usable MX host, including null MX
MTA_STS_MISSING3No MTA-STS DNS version record
TLS_RPT_MISSING3No TLS-RPT DNS version record
BIMI_MISSING1No default BIMI DNS version record
DNS_MALFORMED5Malformed DNS answer or MX data

A: 90 to 100; B: 80 to 89; C: 70 to 79; D: 60 to 69; F: 0 to 59. Error items have no score or grade.

Honest limits

DKIM probing covers common selectors and supplied extras only. A negative result means "not found for common selectors", never certainty that DKIM is missing. Nonempty key tags are detected without cryptographic key validation. Revoked empty keys are not counted.

SPF lookup count is an estimate of direct terms, including redirect. It does not recursively expand includes, redirects or MX hosts, calculate void lookups, or validate the full SPF grammar. With multiple SPF records the first is used for these details and an error is reported.

DMARC tags receive basic validation only; reporting address presence does not prove address validity, authorization or report delivery. MTA-STS, TLS-RPT and BIMI checks identify DNS version records only, without fetching policies, validating certificates, checking logos or testing mail transport. MX provider is a hostname pattern guess. No implicit A/AAAA mail fallback is tested. NXDOMAIN is treated as absent records. Other DNS failures produce an error item.

Results describe configuration facts and standard-practice gaps, not inbox placement or deliverability outcomes. DNS changes and resolver caching can affect observations.

Local run

Use Node.js 20 or later. In a network-enabled environment, run npm install, then npm test. Tests use only Node built-ins and injected fixture fetch functions, so npm test also runs before installation and never needs DNS access.

For an Actor run, put input in storage/key_value_stores/default/INPUT.json, then run npm start after installation. The entry point uses Apify SDK v3 Actor lifecycle, dataset and key-value storage. The Dockerfile installs the declared SDK dependency on the Apify Node 22 base image.

Publication setup

This worktree does not publish or configure pricing. Before publication, the owner must configure Apify pay-per-event monetization for a per-domain domain-audited event and validate the installed SDK charging integration in a nonbilling test environment. No price or demand estimate is supplied. The entry point calls Actor.charge once with domain-audited after each successful unique domain dataset write. DNS error items are not charged. Tests inject a fake charging callback and do not spend money. Charging or storage failures halt the run; billing and dataset writes are not transactional.