Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does DMARC TXT record require trailing semicolon?

Tags:

dns

dmarc

I've left off the trailing semicolon in each TXT record of my DMARC records, but I've never thought if this is ignoring some convention, or could cause lookups to fail somehow.

For example, is there any difference between:

"v=DMARC1; p=reject; rua=mailto:[email protected]"

and

"v=DMARC1; p=reject; rua=mailto:[email protected];"
like image 503
Brian Avatar asked Sep 02 '25 15:09

Brian


2 Answers

Either is fine. The specification shows the dmarc-sep, which is defined as %x3b (';'), is optional for the trailing DMARC record segment.

like image 168
mfalkus Avatar answered Sep 05 '25 16:09

mfalkus


It doesn't require a trailing semi-colon. I've inspected a lot of DMARC records and I never seen one with with trailing semi-colon. The trailing semi-colon might actually cause issues with validators.

like image 26
Henry Avatar answered Sep 05 '25 15:09

Henry