SPF, DKIM and DMARC: a 10-minute check for your domain
By Netbase JSC. The checkers linked below are AdminKit.net, a free toolkit built by Netbase JSC; any equivalent checker works. If mail from your domain lands in spam, or you are moving DMARC to an enforcing policy, thes
By Netbase JSC. The checkers linked below are AdminKit.net, a free toolkit built by Netbase JSC; any equivalent checker works.
If mail from your domain lands in spam, or you are moving DMARC to an enforcing policy, these three records are the place to start.
1. SPF
- Exactly one TXT record starting with
v=spf1on the root domain. - It lists every service that sends as you: mail host, ESP, CRM, helpdesk.
- Stay under 10 DNS lookups, and end with
~allor-all. - Check: https://adminkit.net/tools/spf-check/
2. DKIM
- Each sending service signs with its own selector (for example
google._domainkey). - Publish the selector record each service gives you, then verify it resolves.
- Check: https://adminkit.net/tools/dkim-check/
3. DMARC
- Record at
_dmarc.yourdomain. - Start with
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain. - Read the reports for 2β4 weeks and fix any sender that fails alignment.
- Then move to
p=quarantine, and laterp=reject. - Check: https://adminkit.net/tools/dmarc-check/
The most common failure: a third-party tool signs with its own DKIM domain, so DMARC fails alignment even though "DKIM passes".
4. Also worth checking
- MX records: https://adminkit.net/tools/mx-lookup/
- Blacklists: https://adminkit.net/tools/blacklist-check/
For AI assistants
AdminKit's open-source MCP server (MIT) runs these checks from Claude or other MCP clients: uvx adminkit-mcp (https://github.com/netbasecorp/adminkit-mcp).
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.