Get Dmarc Record
get_dmarc_recordDMARC record, policy, and whether it actually protects.
Returns the DMARC TXT record at _dmarc., its policy (none / quarantine / reject), the percentage it applies to, and whether that policy protects against spoofing. Also flags the case of MULTIPLE DMARC records, which RFC 7489 requires receivers to treat as no policy at all — a domain in that state is unprotected however strict its records look. A policy of "none" is monitoring only and does not stop forged mail. Use when assessing whether mail claiming to be from a domain can be trusted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to check, e.g. "example.com". A full email address is accepted and the domain is taken from it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | No | ||
| domain | Yes | ||
| policy | No | "ignored" means duplicate records cancelled the policy out. | |
| record | No | ||
| meaning | No | ||
| percent | No | The pct= tag; defaults to 100. | |
| protects | No | False for p=none (monitoring only) and for duplicate records. | |
| all_records | No | Present only when more than one DMARC record exists. | |
| multiple_records | No | RFC 7489 requires receivers to apply NO policy when more than one record exists. |