Check your email authentication in one command.
Validates SPF, DKIM, DMARC, BIMI and MTA-STS for any domain. Counts recursive SPF lookups against the RFC limit, discovers DKIM selectors automatically, then grades the result A+ to F with fixes.
Why it matters
SPF, DKIM and DMARC are what stop attackers from sending mail as your domain, and what mailbox providers read before deciding whether your own mail lands in the inbox or the spam folder. A missing or misconfigured record quietly costs you both trust and delivery.
The catches are rarely obvious. SPF silently breaks once it needs more than ten recursive DNS lookups. DMARC left at p=none monitors but enforces nothing. This tool surfaces those exact failure modes instead of just confirming a record exists.
What it validates
Install
npx @trustyourwebsite/dns-auth-check trustyourwebsite.com
# Or install globally
npm install -g @trustyourwebsite/dns-auth-check
dns-auth-check trustyourwebsite.com
Common options
--format <json|text|table>Output format. Table is the default.--dkim-selectors <s1,s2>Comma-separated DKIM selectors to check.--check-mxAlso list and identify MX records.--ciExit code 1 when critical or high issues are found.--output <file>Write the report to a file.--timeout <ms>DNS query timeout. Default 5000.dns-auth-check example.com --ci
# Check specific selectors, JSON out
dns-auth-check example.com --dkim-selectors google,s1,mandrill --format json
→ also usable as a library via auditDNSAuth()
Full site scan
Cookie consent behaviour, tracking, accessibility, security headers and privacy statements across the site, read against the GDPR, the ePrivacy rules and the national law of each EU and UK market.
Scan a European siteThe same scanner with US and Canadian rules: WCAG-based accessibility checks, tracking and consent signals under state privacy laws, and what a privacy policy actually discloses. Findings describe what the page does, not a legal conclusion.
Scan a North American siteBoth give a free risk score and issue counts; the paid report adds the finding-level detail, screenshots and fix instructions. Technical analysis, not legal advice.