[{"data":1,"prerenderedAt":220},["ShallowReactive",2],{"tool-dmarc-generator":3},{"id":4,"title":5,"body":6,"description":197,"extension":198,"faq":199,"h1":212,"intro":213,"meta":214,"navigation":215,"path":216,"seo":217,"stem":218,"__hash__":219},"tools\u002Ftools\u002Fdmarc-generator.md","DMARC Record Generator: Create a DMARC Policy",{"type":7,"value":8,"toc":191},"minimark",[9,14,41,45,61,70,92,112,116,167,171,187],[10,11,13],"h2",{"id":12},"how-to-use-the-dmarc-generator","How to use the DMARC generator",[15,16,17,21,29,32,35],"ol",{},[18,19,20],"li",{},"Enter your domain.",[18,22,23,24,28],{},"Pick a policy. For a domain that has never had DMARC, use ",[25,26,27],"code",{},"none",".",[18,30,31],{},"Add an address for aggregate reports. A dedicated mailbox or a DMARC report service works; your personal inbox will fill up with XML.",[18,33,34],{},"Leave the advanced options at their defaults unless you know you need them.",[18,36,37,38,28],{},"Copy the record and publish it as a TXT record on ",[25,39,40],{},"_dmarc",[10,42,44],{"id":43},"a-rollout-that-does-not-break-mail","A rollout that does not break mail",[46,47,52],"pre",{"className":48,"code":49,"language":50,"meta":51,"style":51},"language-txt shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com\n","txt","",[25,53,54],{"__ignoreMap":51},[55,56,59],"span",{"class":57,"line":58},"line",1,[55,60,49],{},[62,63,64,65,69],"p",{},"Wait for a couple of weeks of aggregate reports. Every source IP that sends as you should show SPF or DKIM passing ",[66,67,68],"strong",{},"and aligned",". Fix the ones that do not, usually by setting up a custom DKIM domain and return-path with each email service.",[46,71,73],{"className":48,"code":72,"language":50,"meta":51,"style":51},"v=DMARC1; p=quarantine; pct=0; t=y; rua=mailto:dmarc-reports@example.com\nv=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com\nv=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com\n",[25,74,75,80,86],{"__ignoreMap":51},[55,76,77],{"class":57,"line":58},[55,78,79],{},"v=DMARC1; p=quarantine; pct=0; t=y; rua=mailto:dmarc-reports@example.com\n",[55,81,83],{"class":57,"line":82},2,[55,84,85],{},"v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com\n",[55,87,89],{"class":57,"line":88},3,[55,90,91],{},"v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com\n",[62,93,94,97,98,101,102,105,106,108,109,111],{},[66,95,96],{},"Test mode"," adds ",[25,99,100],{},"t=y"," and ",[25,103,104],{},"pct=0",", so receivers apply the next weaker policy while you watch for problems: ",[25,107,100],{}," for receivers on RFC 9989, ",[25,110,104],{}," for those still on RFC 7489. Turn it off once you are confident.",[10,113,115],{"id":114},"mistakes-the-generator-avoids","Mistakes the generator avoids",[117,118,119,128,142,155],"ul",{},[18,120,121,127],{},[66,122,123,124,28],{},"Forgetting ",[25,125,126],{},"mailto:"," Addresses are prefixed automatically.",[18,129,130,133,134,137,138,141],{},[66,131,132],{},"Tag order."," ",[25,135,136],{},"v=DMARC1"," comes first and ",[25,139,140],{},"p="," second.",[18,143,144,147,148,101,151,154],{},[66,145,146],{},"Redundant tags."," Defaults such as ",[25,149,150],{},"adkim=r",[25,152,153],{},"aspf=r"," are left out to keep the record short.",[18,156,157,166],{},[66,158,159,162,163,28],{},[25,160,161],{},"fo="," without ",[25,164,165],{},"ruf="," The option only appears when you ask for failure reports.",[10,168,170],{"id":169},"after-publishing","After publishing",[62,172,173,174,179,180,183,184,28],{},"Run the ",[175,176,178],"a",{"href":177},"\u002Ftools\u002Fdmarc-lookup\u002F","DMARC checker"," to confirm the published record, including whether an outside report address has authorized your domain. Then send a message to a mailbox you can inspect and check the ",[25,181,182],{},"Authentication-Results"," header for ",[25,185,186],{},"dmarc=pass",[188,189,190],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":51,"searchDepth":82,"depth":82,"links":192},[193,194,195,196],{"id":12,"depth":82,"text":13},{"id":43,"depth":82,"text":44},{"id":114,"depth":82,"text":115},{"id":169,"depth":82,"text":170},"Free DMARC record generator. Pick a policy, report addresses and alignment, and copy a valid v=DMARC1 TXT record with a plain-English summary of what it does.","md",[200,203,206,209],{"question":201,"answer":202},"Which policy should I choose first?","p=none with a rua= address. It changes nothing for delivery and starts the reports flowing. Move to quarantine and then reject once the reports show every legitimate sender passing.",{"question":204,"answer":205},"What host name do I enter at my DNS provider?","Usually _dmarc. Most DNS panels add the domain for you. If yours expects the full name, enter that instead (_dmarc.example.com).",{"question":207,"answer":208},"Do I need ruf=?","No. Failure reports contain message details, and most large mailbox providers do not send them. Aggregate reports (rua) are what you need.",{"question":210,"answer":211},"Should I use strict alignment?","Only if you have a reason to. Relaxed alignment lets mail.example.com align with example.com, which most setups rely on. Strict alignment breaks mail from subdomain return-paths and signing domains.","DMARC record generator","Choose a policy and where reports should go, and this DMARC generator builds the TXT record for _dmarc.\u003Cdomain>. The record is validated as you type, and everything runs in your browser.",{},true,"\u002Ftools\u002Fdmarc-generator",{"title":5,"description":197},"tools\u002Fdmarc-generator","wMW3TeInBqRiFYfE1AN4MFktpaKH6DDxZ8tSYKdrceg",1795555759277]