import type { Metadata } from "next";
import Link from "next/link";
import { AdSlot } from "@/components/AdSlot";
export const metadata: Metadata = { title: 'How to Check a DMARC Record and Fix Common Problems', description: 'Check a DMARC record, understand p=none, quarantine and reject, and identify common DNS configuration problems.' };
export default function Guide(){return <article className="container guide-page"><header className="guide-header"><span className="eyebrow">DMARC</span><h1>How to Check a DMARC Record and Fix Common Problems</h1><p>A DMARC policy is normally published as a TXT record at <code>_dmarc.yourdomain.com</code>. Checking the exact published value is the first step before changing the policy.</p></header><div className="article-card prose"><h2>Where DMARC lives</h2><p>DMARC is not normally placed on the root hostname. For example, the DMARC record for <code>example.com</code> is queried at <code>_dmarc.example.com</code>.</p><AdSlot slotId="guide-mid-content" className="article-ad-slot" /><h2>Understand the policy</h2><p>The <code>p</code> tag states the requested policy. <code>p=none</code> is primarily monitoring, <code>p=quarantine</code> asks receivers to treat failing messages with greater suspicion, and <code>p=reject</code> requests rejection of messages that fail the DMARC evaluation.</p><h2>Common DMARC problems</h2><p>Common issues include publishing the record at the wrong hostname, malformed tags, more than one DMARC record, moving to enforcement before legitimate sending services are authenticated, and assuming DMARC replaces SPF or DKIM.</p><h2>Before tightening the policy</h2><p>Inventory legitimate senders and verify their SPF/DKIM alignment. If your organisation depends on several mail platforms or third-party senders, review their authentication setup before making a restrictive policy change.</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 DMARC & 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>}
