SOC & Incident Response
6 min read
How to Verify SPF, DMARC & DKIM DNS Records Against Email Spoofing
Audit TXT DNS records for SPF lookup limits (-all vs ~all), DKIM public keys, and DMARC p=reject enforcement to block phishing spoofing.
Author: Pro Hacker Security Research Team
Technical Reviewer: Gripxtech Technical Review Board
Published:
Last Reviewed:
Overview & Context
Audit TXT DNS records for SPF lookup limits (-all vs ~all), DKIM public keys, and DMARC p=reject enforcement to block phishing spoofing.
Practical Workflow & Example
bash
dig +short TXT example.com
dig +short TXT _dmarc.example.com
Always verify written authorization before testing live infrastructure and preserve logs prior to containment changes.
Frequently Asked Questions
You can practice this workflow inside Pro Hacker’s Practical Labs, SOC SIEM Workspace, and Incident Response Simulator.