import type { Metadata } from "next";
import Link from "next/link";
import { AdSlot } from "@/components/AdSlot";
export const metadata: Metadata = { title: "SPF vs DKIM vs DMARC: What's the Difference?", description: 'Learn what SPF, DKIM and DMARC do, how they work together and what to check when configuring email authentication.' };
export default function Guide(){return <article className="container guide-page"><header className="guide-header"><span className="eyebrow">Email authentication</span><h1>SPF vs DKIM vs DMARC: What's the Difference?</h1><p>SPF, DKIM and DMARC solve related but different parts of email authentication. A healthy domain email setup commonly uses all three rather than treating them as interchangeable records.</p></header><div className="article-card prose"><h2>SPF: which systems may send</h2><p>SPF publishes a policy in DNS describing which sending infrastructure is authorised for a domain. Receivers compare the sending path with that policy. A domain should normally publish one SPF policy rather than multiple competing SPF records.</p><AdSlot slotId="guide-mid-content" className="article-ad-slot" /><h2>DKIM: whether a message was signed</h2><p>DKIM uses a cryptographic signature added by the sending service. The receiving system retrieves a public key from a selector-specific DNS record and uses it to verify the signature.</p><h2>DMARC: what to do with authentication results</h2><p>DMARC builds on SPF and DKIM and adds domain alignment plus a published policy. Policies commonly include <code>none</code>, <code>quarantine</code> and <code>reject</code>. DMARC can also provide reporting addresses.</p><h2>Why all three matter</h2><p>SPF identifies permitted sending infrastructure, DKIM provides message-level signing, and DMARC tells receivers how aligned authentication should be handled. Correct records do not guarantee inbox placement, but they are important technical signals for authenticated domain email.</p><div className="article-cta"><h2>Check your domain</h2><p>Use ZoneCheckr to inspect the live configuration before making changes.</p><Link href="/tools/email-security" className="button button-primary">Check Email Security</Link></div><p className="guide-support">Still stuck? <Link href="/services" className="text-link">Get technical help with your domain →</Link></p></div></article>}
