Home / Use cases / Check DMARC and SPF for a List of Domains

Updated

Check DMARC and SPF for a List of Domains (Bulk)

Gmail and Yahoo require DMARC from bulk senders, and MSPs must audit every client domain. Online checkers do one domain at a time.

Try it now on Apify Domain Intelligence API: Tech Stack, DNS, SPF/DMARC, SSL, WHOIS · $0.003 per one full report for one distinct domain · failed items are free

How to do it, step by step

  1. Paste the domains (clients, brands, suppliers).
  2. Turn off technologies, SSL and registration for a mail-only audit (faster).
  3. Read email.dmarc.policy, email.spf.all, email.provider and email.issues.
  4. Fix domains with no DMARC or p=none first.

The exact input used for the example below:

{
  "domains": [
    "paypal.com",
    "lemonde.fr",
    "example.com"
  ],
  "checkTechnologies": false,
  "checkSsl": false,
  "checkRegistration": false
}

Real result

Run Ik7cm9Aco0q48IcKo on 2026-12-05: status SUCCEEDED, 3 item(s), 2.1 s of run time. Output shortened for reading (long text cut with “…”).

A domain that sends no mail at all (null MX) scores 100 when it also rejects spoofing: that is the right setup for parked domains.

[
  {
    "domain": "example.com",
    "email": {
      "provider": "No mail (null MX)",
      "score": 100,
      "spf": {
        "record": "v=spf1 -all",
        "all": "fail",
        "includes": [],
        "redirect": null,
        "dnsLookups": 0,
        "redirectAll": null
      },
      "dmarc": {
        "record": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s",
        "policy": "reject",
        "subdomainPolicy": "reject",
        "pct": 100,
        "aggregateReports": false,
        "forensicReports": false
      },
      "dkim": {
        "found": true,
        "selectors": [
          "default",
          "google",
          "… 18 more"
        ],
        "checkedSelectors": 20
      },
      "mtaSts": {
        "found": false,
        "id": null
      },
      "tlsRpt": {
        "found": false,
        "reports": false
      },
      "bimi": {
        "found": false,
        "logoUrl": null,
        "certificate": false
      },
      "issues": [
        {
          "code": "DMARC_NO_REPORTS",
          "severity": "low",
          "fix": "Add \"rua=mailto:…\" to receive DMARC aggregate reports."
        }
      ]
    }
  },
  {
    "domain": "paypal.com",
    "email": {
      "provider": "Self-hosted or other",
      "score": 95,
      "spf": {
        "record": "v=spf1 include:pp._spf.paypal.com include:3ph1._spf.paypal.com include:3ph2._spf.paypal.com include:3ph3._spf.paypal.com include:3ph4._spf.paypal.com include:se…",
        "all": "softfail",
        "includes": [
          "pp._spf.paypal.com",
          "3ph1._spf.paypal.com",
          "… 5 more"
        ],
        "redirect": null,
        "dnsLookups": 7,
        "redirectAll": null
      },
      "dmarc": {
        "record": "v=DMARC1; p=reject; rua=mailto:…@rua.agari.com,mailto:…@vali.email; ruf=mailto:…@ruf.agari.com,mailto:…@ruf.vali.email",
        "policy": "reject",
        "subdomainPolicy": null,
        "pct": 100,
        "aggregateReports": true,
        "forensicReports": true
      },
      "dkim": {
        "found": true,
        "selectors": [
          "s1",
          "s2"
        ],
        "checkedSelectors": 20
      },
      "mtaSts": {
        "found": false,
        "id": null
      },
      "tlsRpt": {
        "found": false,
        "reports": false
      },
      "bimi": {
        "found": true,
        "logoUrl": "https://www.paypalobjects.com/marketing/web/logos/paypal_ppe.svg",
        "certificate": true
      },
      "issues": []
    }
  }
]

Try it now with your own input

FAQ

What is a good DMARC policy?

p=reject (or quarantine) once reports show your legitimate mail passes; p=none only monitors.

Does it check DKIM?

Yes, common selectors are tested when DKIM checking is on.

MTA-STS and BIMI?

Both are reported in the email object.

Related