# `bird email tools validate-dmarc`

## Usage

```bash
bird email tools validate-dmarc [flags]
```

## Description

Validate a DMARC TXT record (the `v=DMARC1; p=...` string published at `_dmarc.&lt;domain>`) and get back the parsed policy plus errors and warnings. Pass the record text in the `record` parameter; the tool parses it offline (no DNS lookup) and reports whether it is valid, what each tag resolves to, and any problems such as a missing `p` tag, an invalid percentage, or no aggregate-report address. Use this to check a record a user wrote or pasted before they publish it, or to explain what an existing record does. To fetch and check a domain's live record you must resolve DNS yourself first, then pass the result here. Public — no authentication required.

## Examples

```bash
bird email tools validate-dmarc <record>
```

## Options

| Name                | Description                                      |
| ------------------- | ------------------------------------------------ |
| `--response-schema` | Print the fields this command returns, then exit |

## Related

| Name                                                                                            | Description                                      |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [`bird email tools analyze-dmarc-report`](/docs/cli/reference/email-tools-analyze-dmarc-report) | Analyze a DMARC aggregate report                 |
| [`bird email tools analyze-headers`](/docs/cli/reference/email-tools-analyze-headers)           | Analyze raw email headers                        |
| [`bird email tools audit`](/docs/cli/reference/email-tools-audit)                               | Audit a domain's email authentication            |
| [`bird email tools split-dns-record`](/docs/cli/reference/email-tools-split-dns-record)         | Split a long DNS TXT value into 255-octet chunks |
| [`bird email tools validate-bimi`](/docs/cli/reference/email-tools-validate-bimi)               | Validate a BIMI record                           |