Domain Security Audit: DNS, SPF, DKIM, DMARC, TLS & Headers avatar

Domain Security Audit: DNS, SPF, DKIM, DMARC, TLS & Headers

Pricing

from $5.00 / 1,000 domains audited

Go to Apify Store
Domain Security Audit: DNS, SPF, DKIM, DMARC, TLS & Headers

Domain Security Audit: DNS, SPF, DKIM, DMARC, TLS & Headers

Bulk audit domains for DNS, DNSSEC, SPF/DKIM/DMARC/MTA-STS, TLS certificate and HTTP security headers. Score, grade and fixes per domain. No login, no API key.

Pricing

from $5.00 / 1,000 domains audited

Rating

0.0

(0)

Developer

Abdelrhman Fikri

Abdelrhman Fikri

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 hours ago

Last modified

Features

Limited permissions

Share

Give it a list of domains and it checks each one for the things that usually get missed: broken or missing email authentication (SPF, DKIM, DMARC, MTA-STS), certificates close to expiry, DNSSEC and CAA gaps, and missing HTTP security headers. You get one row per domain with a score from 0 to 100, a grade, and a short list of what to fix and how.

It reads public DNS records and the domain's own web server, nothing else. No login, no API key, no proxy.

Who uses it

  • Agencies and IT consultants checking all client domains before a review or a proposal.
  • Outbound and email teams confirming SPF, DKIM and DMARC are in order before sending, and catching SPF records that exceed the 10-lookup limit.
  • DevOps and platform teams running it weekly on company domains to catch an expiring certificate, a dropped DMARC record, or a lost HSTS header.
  • Security and compliance teams collecting evidence for ISO 27001, SOC 2 or cyber-insurance questionnaires.
  • Due diligence, comparing the external hygiene of many companies at once.
  • AI agents calling it through the Apify MCP server to answer "is this domain set up safely for email?"

What does it check?

AreaChecks
DNSA/AAAA, NS (single-nameserver risk), SOA, CAA, DNSSEC (DS present and validated)
EmailMX and null-MX, SPF (policy, multiple records, +all, ?all, ptr, recursive DNS-lookup count vs. the limit of 10, broken includes), DMARC (policy, sp, pct, rua/ruf), DKIM (18 common selectors + your own), MTA-STS (TXT + policy mode), TLS-RPT, BIMI
TLSExpiry in days, issuer, SAN list, hostname match, chain trust, negotiated TLS version
HTTPHTTP to HTTPS redirect, HSTS (max-age, includeSubDomains, preload), CSP (flags unsafe-inline/unsafe-eval), X-Content-Type-Options, clickjacking protection, Referrer-Policy, Permissions-Policy, version-leaking Server / X-Powered-By, cookie Secure/HttpOnly flags, robots.txt, sitemap.xml, /.well-known/security.txt

Every issue comes back as a finding with a severity (critical, high, medium, low or info), a plain-language message and a suggested fix. The score starts at 100 and drops with each finding, weighted by severity. The grade runs from A to F.

How to use it

  1. Paste your domains (or URLs) into Domains, one per line.
  2. Choose which checks to run. All four are on by default.
  3. Click Start. Results appear in the Output tab and can be exported as JSON, CSV, Excel or HTML, or read through the API.
  4. To monitor continuously, add a Schedule (for example weekly) and connect the dataset to Slack, email, Google Sheets or a webhook.

Input example

{
"domains": ["example.com", "https://github.com", "mycompany.io"],
"checkDns": true,
"checkEmail": true,
"checkTls": true,
"checkHttp": true,
"dkimSelectors": ["mycompany2024"],
"concurrency": 25
}

Output example

{
"domain": "mycompany.io",
"scannedAt": "2026-12-02T12:00:00.000Z",
"score": 74,
"grade": "C",
"findingCounts": { "critical": 0, "high": 0, "medium": 2, "low": 3, "info": 2 },
"email": {
"spf": { "present": true, "policy": "softfail (~all)", "dnsLookups": 8 },
"dmarc": { "present": true, "policy": "none", "pct": 100, "rua": ["mailto:dmarc@mycompany.io"] },
"dkim": { "selectorsProbed": 18, "found": [{ "selector": "google", "keyType": "rsa", "approxKeyBits": 2048 }] }
},
"tls": { "protocol": "TLSv1.3", "issuer": "Let's Encrypt", "daysUntilExpiry": 61, "hostnameMatch": true },
"http": { "httpToHttps": true, "hsts": false, "csp": false },
"findings": [
{ "category": "email", "severity": "medium", "id": "dmarc.p-none", "message": "DMARC policy is p=none (monitoring only).", "fix": "Move to p=quarantine, then p=reject, after reviewing reports." }
]
}

How much does it cost?

The Actor uses pay per event: you pay $5 per 1,000 domains audited (one domain-audited event per successfully audited domain) plus a tiny start fee. Domains that don't exist (NXDOMAIN) and invalid inputs are never charged. Paid Apify plans get Store discounts. You can set a maximum spend per run and the Actor stops cleanly when it is reached.

DomainsApprox. cost
10$0.05
100$0.50
1,000$5.00

Free plan and large lists

On Apify's free plan a run is limited by your account's monthly credit of about $5, which covers roughly 1,000 domains per run. For bigger lists, split them into batches of up to about 1,000 domains. On paid plans there is no such ceiling, and very large lists (5,000+) can be sharded into several parallel runs to finish faster. A single run audits about 1.5 domains per second at the default concurrency of 25, so 5,000 domains take roughly an hour in one run.

Good to know

  • The Actor reads only public DNS and the domain's own web server (plus mta-sts.<domain> if MTA-STS is published). It does not port-scan, brute-force or send email.
  • DKIM selectors cannot be listed by anyone, so only common selectors and the ones you add are probed. "No DKIM found" means "not found on those selectors".
  • DNS is resolved via public DNS-over-HTTPS resolvers (Cloudflare, with Google as fallback) so results are consistent and DNSSEC validation status is available.
  • Connections only go to public IP addresses. Private, loopback and link-local addresses are refused, including after redirects.
  • The audit looks at the host name you supply (for example example.com), not every subdomain.
  • This is an external, passive hygiene check. It is not a penetration test and not a substitute for a security review.

FAQ

Does it need an API key or login? No.

Can I run it on a schedule or call it from code? Yes. Use Apify Schedules, the Apify API/clients, webhooks, or the Apify MCP server.

Why is my score lower than my security scanner's? Scores are weighted by severity and based only on what is externally visible. Every point deducted is listed in findings, so you can see and fix the cause.

Something looks wrong for my domain. Open an issue on the Actor page with the domain and the finding id (for example spf.too-many-lookups) and it will be reviewed.