A-----> www
A-----> host
TXT --> vpn.comptia.org
SPF---> ip =2.2.2.2
Which of the following DNS records should be in place to avoid phishing attacks using spoofing domain techniques?
Show answerHide answer
Correct answer: C DMARC
Explanation
Explanation:DMARC (Domain-based Message Authentication, Reporting & Conformance) is a DNS TXT record that instructs email receivers how to handle messages that fail SPF or DKIM authentication checks. It allows domain owners to set policies such as "reject" or "quarantine" for unauthenticated emails. This directly prevents attackers from spoofing the domain in phishing campaigns, as receiving mail servers will block or flag emails that do not pass verification. Without DMARC, SPF alone is insufficient because it does not define an action for failures.
Why other options are incorrect
A. MX (Mail Exchange) – Specifies which mail servers accept email for the domain. It has no authentication or anti-spoofing capabilities.
B. SOA (Start of Authority)
– Contains DNS zone metadata (primary nameserver, admin contact, serial number). Completely unrelated to email security.
D. CNAME (Canonical Name)
– Creates domain aliases (e.g., www to @). Does not affect email authentication or spoofing prevention.
References
CompTIA PenTest+ PT0-003 – Domain 2.1: "DMARC to prevent email spoofing and phishing attacks."
RFC 7489 – DMARC specification.
MITRE ATT&CK T1585.002 – "Phishing for Information" – DMARC mitigates domain spoofing.
NIST SP 800-177 – Email security recommendations include DMARC deployment.
OWASP Phishing Guide – DMARC, SPF, and DKIM are core anti-phishing DNS records.