# DMARC Policy in a TXT Record

The DMARC policy of google.com, read from the TXT record of _dmarc.google.com.

Source: https://docs.deepinfo.com/reference/lookup/dns/examples/dmarc-txt/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/dns?domain=_dmarc.google.com&type=TXT`

The DMARC policy of google.com, read from the TXT record of _dmarc.google.com.

Example 11 of 13 in **Record Types** · [DNS Lookup Examples](/reference/lookup/dns/examples/) · endpoint: [DNS](/reference/lookup/dns/)

Tags: `param` `domain` · `param` `type` · `value` `_dmarc.google.com` · `value` `TXT`

Asks for the `TXT` record of `_dmarc.google.com`.

A domain publishes its DMARC policy as a TXT record on the `_dmarc` name. The value `v=DMARC1; p=reject; rua=mailto:user@google.com` tells receivers to reject mail that fails the checks (`p=reject`) and where to send aggregate reports (`rua`); the report address is shown as `user@google.com` on this page.

## Request

| Parameter | In | Value |
|---|---|---|
| `domain` | query | `_dmarc.google.com` |
| `type` | query | `TXT` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/dns?domain=_dmarc.google.com&type=TXT' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 200 · OK

`Content-Type: application/json` · `ratelimit-limit: 100000` · `ratelimit-remaining: 99989` · `ratelimit-reset: 33` · `x-ratelimit-limit-minute: 100000` · `x-ratelimit-remaining-minute: 99989` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "fqdn": "_dmarc.google.com",
  "requested_types": [
    "TXT"
  ],
  "responses": [
    {
      "type": "TXT",
      "conn_status": "success",
      "rcode": "NOERROR",
      "raw": "_dmarc.google.com. 300 IN TXT \"v=DMARC1; p=reject; rua=mailto:user@google.com\"",
      "values": [
        "\"v=DMARC1; p=reject; rua=mailto:user@google.com\""
      ],
      "server": "8.8.8.8"
    }
  ],
  "servers": [
    "8.8.8.8"
  ],
  "check_date": "2026-09-24T07:48:27Z"
}
```

## Related Examples

- [TXT Records](/reference/lookup/dns/examples/type-txt/)
- [A Name Without Records of the Requested Type](/reference/lookup/dns/examples/no-records/)
- [PTR Record: Reverse DNS](/reference/lookup/dns/examples/type-ptr/)
- [DS Record: DNSSEC Delegation](/reference/lookup/dns/examples/type-ds/)
- [SRV Record of a Service](/reference/lookup/dns/examples/type-srv/)
- [DNSKEY Records: DNSSEC Keys](/reference/lookup/dns/examples/type-dnskey/)
