validate_dmarc_record
Validate a DMARC record: parse its tags, get level-based findings, and check correctness. Preview an upgrade to a stricter policy (p=quarantine).
Instructions
Validate a pasted DMARC record: parsed tags, level'd findings, and whether it is valid. No DNS lookup — pass the record string itself. upgrade_record previews a stronger policy and is capped at p=quarantine: a pasted record carries no alignment evidence, so p=reject needs a full scan (use build_dmarc_upgrade). Present any returned record verbatim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | The DMARC record text to validate, e.g. 'v=DMARC1; p=none; rua=mailto:reports@example.com'. The record value only — not the _dmarc hostname it is published at. |