---
title: "How to lookup DMARC and SPF records for a domain"
date: "2022-03-16T16:49:33+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/93761-how-lookup-dmarc-and-spf-records-domain"
id: "2034dd9e-923e-4a80-8e65-bef13693d9ce"
---

When troubleshooting email delivery, it is essential to know what the SPF (Sender Policy Framework) and the DMARC (Domain-based Message Authentication, Reporting & Conformance) records are for the domain. 

You can lookup records from the Command Line:

Dig and NSLookup are two common command line tools to lookup DNS records.

To lookup DMARC:

    dig txt _dmarc.[EXAMPLE.COM]

or 

    nslookup -type=txt   _dmarc.[EXAMPLE.COM}

To Lookup SPF records:

    nslookup  -type=txt [EXAMPLE.COM]

or

    dig txt [EXAMPLE.COM]

You can also use the MXtoolbox website to lookup and test email delivery: [https://mxtoolbox.com/SuperTool.aspx](https://mxtoolbox.com/SuperTool.aspx)