Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
4.4.6. Configure DMARC
Configure
DNS record
DMARC is a special TXT record that is added to domain settings like this:
| Subdomain | Type | Data |
|---|---|---|
_dmarc | TXT | v=DMARC1; p=none; rua=mailto:admin@example.com |
The data field contains parameters that define the behavior of recipient servers when receiving messages sent from domain mailboxes.
Parameters
v(required parameter) — DMARC version. The value is always equal toDMARC1.p(required parameter) — rule for the main domain. Possible values:none— do nothing but send reports.quarantine— put messages into spam.reject— reject messages.
sp— rule for subdomains. The values are similar top.aspfandadkim— check compliance with SPF and DKIM records. Possible values:r(relaxed) — soft check.s(strict) — strict compliance.
pct— percentage of messages for which filtering should be applied. For example,pct=20means to check 20% of messages.rua— address of the mailbox to which daily reports should be sent. You can specify several mailboxes separated by commas, for example,rua=mailto:admin@example.com,mailto:dmarc@example.com.ruf— address of the mailbox to which to send reports about messages that failed DMARC check. It is set similarly torua.fo— report generation conditions. Possible values:0— send a report if both SPF and DKIM authentication fail (default value).1— send a report if one of the authentications is not passed: SPF or DKIM.d— send a report if DKIM authentication is not passed.s— send a report if SPF authentication is not passed.
Generators
Instead of compiling the record manually, online DMARC generators can be used:
Validators
The correctness of the ready record can be checked using the DMARC online validators:
(3)