
Managing Email Deliverability Records for DMARC, DKIM, SPF, and MX
What Are DMARC, DKIM, SPF, and MX Records?
These records work together to authenticate your emails, route them properly, and prevent spam or phishing attempts using your domain.
When running a website, understanding email deliverability records authentication protocols like DMARC, DKIM, and SPF is crucial for ensuring secure email delivery and protecting your domain from misuse. Common issues such as emails landing in spam folders, clients not receiving important messages, or unauthorized users impersonating your domain are signs that your email authentication settings may need adjustment. In this article, we will break down these concepts and guide you through the basics of managing them.
SPF (Sender Policy Framework) – Think of SPF as a gatekeeper for outgoing emails. It ensures that only designated servers are allowed to send messages from your domain, reducing the risk of your emails being flagged as spam.
DKIM (Domainkeys Identified Mail) – Picture DKIM as a digital wax seal on an envelope. It proves that the email came from you and hasn’t been tampered with during delivery.
DMARC (Domain-Based Message Authentication, Reporting and Conformance) – Imagine DMARC as a policy you set for how to handle emails that fail SPF and DKIM checks. It’s like setting rules for how bouncers (SPF and DKIM) should deal with uninvited guests.
MX (Mail Exchange) Records – Think of MX records as a postal address for your email. They ensure your messages are delivered to the right place by prioritizing which server should handle incoming emails.
Where Can You Access Your MX, SPF, DKIM, DMARC and SPF Records?
Before diving into email authentication protocols, it’s important to know how to locate and manage your DNS records. Follow these general steps to access your DNS settings:
- Log in to Your Hosting Account: Access the control panel or dashboard of your hosting provider.
- Navigate to DNS Management: Look for a section labeled “DNS Settings,” “Zone Editor,” or “Manage Domains.”
- Locate Existing Records: Once in the DNS management area, you’ll see a list of your current records (e.g., A, MX, TXT).
- Edit or Add Records: To make changes, select the record type you need to adjust or create, and input the appropriate details.
- Save Your Changes: After editing, save the records and allow time for DNS propagation, which typically takes 24-48 hours.
If you’re unsure about these steps, your hosting provider’s support documentation or customer service team can guide you. Here are access instructions for some of the main hosting provider’s –
Access DreamHost DNS records by following these steps –
- Log in to your DreamHost account.
- Navigate to the “Domains” section and click on “Manage Domains.”
- Click “DNS” to access the editor and modify your records
Access HostGator DNS records by following these steps –
- Log in to your HostGator account and access the cPanel.
- Under the “Domains” section, click on “Zone Editor.”
- Select the domain and manage DNS records
Access Cloudflare DNS records by following these steps –
- Log in to your Cloudflare account.
- Select the domain you want to manage from the dashboard.
- Click on the “DNS” tab to access and manage DNS records
Access SiteGround DNS records by following these steps –
- Log in to your SiteGround account.
- Go to “Websites” and choose the site you want to manage.
- Click on “Site Tools” and navigate to “Domain > DNS Zone Editor.”
- Here, you can view and manage your DNS records.
Access Bluehost DNS records by following these steps –
- Log in to your Bluehost account.
- Navigate to the “Domains” tab and click “My Domains.”
- Choose the domain you want to manage and click “DNS.”
- You’ll see all DNS records for the selected domain, where you can edit or add records
Access GoDaddy DNS records by following these steps –
- Log in to your GoDaddy account.
- Click on “My Products” and locate your domain.
- Select “DNS” under the domain name to access the DNS Management page.
- From there, you can add, edit, or delete DNS records like MX, TXT, and CNAME.
SPF (Sender Policy Framework)
SPF specifies which mail servers are allowed to send emails on behalf of your domain.
Creating or Editing your sPF Record
SPF is like a permission list for your domain's email servers. By creating an SPF record, you tell the world which servers are authorized to send emails on your behalf, preventing spammers from faking your domain.
Purpose: Prevents unauthorized senders from impersonating your domain.
How It Works: An SPF record is a type of TXT record that lists the IP addresses or servers permitted to send emails for your domain.
How to Create or Update an SPF Record:
- Go to your DNS management console.
- Add a new TXT record.
- Use a format like: v=spf1 include:yourhost.com -all.
- Save your changes.

DKIM (Domainkeys Identified Mail)
DKIM adds a digital signature to your emails, ensuring that they haven’t been tampered with in transit.
How to set up DKIM
- Enable DKIM in your email provider’s settings (e.g., Gmail or Microsoft 365).
- Copy the generated TXT record.
- Add this record to your domain’s DNS settings.
DKIM Record Example:
Type: TXT
Host: default._domainkey
Value: v=DKIM1; k=rsa; p=MIGfMA0GCSqG…
DMARC (Domain-based Message Authentication, Reporting, and Conformance)
DMARC acts as the manager overseeing SPF and DKIM. It ensures that both work together effectively to protect your domain from unauthorized use.
How to create or update a dMARC Record
- Log in to your DNS provider.
- Add a TXT record with the following format:
- v=DMARC1; p=none; rua=mailto:reports@yourdomain.com;
- Save the record.
DMARC Policies Explained: (If you are inexperienced, ONLY use the p=none in your DMARC record as shown above in the example record in bold)
- None: No action is taken on failed emails; used for monitoring purposes.
- Quarantine: Failed emails are marked as suspicious and may land in the recipient’s spam folder.
- Reject: Failed emails are outright blocked and not delivered.
When to Use Each Policy:
- Start with none to monitor email activity and gather data.
- Move to quarantine once you’re confident legitimate emails are authenticated.
- Use reject only when you’re sure your authentication is fully configured and all legitimate senders are included.
MX (Mail Exchange) Records
MX records specify the mail servers responsible for receiving email messages on behalf of your domain.
How To Set Up or Update MX Records
- Access your DNS management console.
- Add or edit the MX record to include your email provider’s mail server addresses.
- Assign priority values (e.g., 10 for the primary server, 20 for a backup server).
- Save the changes and allow time for propagation.
MX Record Example:
Type: MX
Priority: 10
Mail Server: mail.example.com
Note: A separate MX record may be required for each email platform if you are using multiple providers to handle different email needs (e.g., one platform for internal team communication (GSuite or Outlook) and another for marketing campaigns (MailChimp or ConstantContact). Each MX record should be configured with the corresponding provider’s mail server address and priority. Each provider should have instructions for setting up their MX record in your DNS area.

Get Your Email List Management Guide
Testing Your Email Authentication Setup
After updating your email authentication records, it’s important to test your setup to ensure everything is working as expected.
How to test your setup
- Use Online Testing Tools: Tools like MXToolbox can help verify your SPF, DKIM, and DMARC configurations.
- Send Test Emails: Send emails to yourself and colleagues. Check if the emails arrive in the inbox or spam folder.
- Review DMARC Reports: Use the email address specified in your DMARC record (e.g., rua=mailto:reports@yourdomain.com) to receive and analyze reports about authentication results.

What indicates correct configuration?
- Emails sent from your domain are delivered to the inbox without being flagged as spam.
- Online testing tools confirm that SPF, DKIM, and DMARC records are correctly configured.
- DMARC reports show that legitimate emails pass both SPF and DKIM checks.
What indicates incorrect configuration?
- Emails are consistently flagged as spam or not delivered.
- Testing tools report errors like “SPF validation failed” or “DKIM signature not found.”
- DMARC reports show a high percentage of emails failing authentication.
Steps to fix issues
- SPF Errors: Double-check the list of authorized servers in your SPF record and ensure all email-sending services are included.
- DKIM Issues: Verify that the DKIM TXT record matches the key provided by your email service provider.
- DMARC Problems: Ensure the policy aligns with your email flow, starting with none for monitoring before moving to stricter policies.
Testing your email deliverability setup is an ongoing process. Regularly review your records and adjust them as needed to maintain proper email deliverability and security.
Understanding and properly configuring email authentication is a critical step in ensuring reliable email deliverability. By managing DMARC, DKIM, SPF, and MX records effectively, you not only protect your domain from unauthorized use but also improve the trustworthiness of your email communications.
Regularly testing your setup and analyzing DMARC reports allows you to stay ahead of potential issues and maintain a professional online presence. Remember, email deliverability records management isn’t a one-time effort but an ongoing process that requires consistent attention to detail. Investing time in these best practices will pay off in fewer missed opportunities, a stronger brand reputation, and smoother communication with clients and partners.
Need help managing your email DNS records? We’d love to help!

