SpamHero SPF, DKIM, DMARC and MX Records Setup for Domain Authentication

SpamHero SPF, DKIM, DMARC and MX Records Setup for Domain Authentication

August 09, 2024

How to Configure and Setup DNS records for SpamHero?

The email inbox providers require proof that you are who you say and your emails are safe to open. That's where domain authentication comes in. By authenticating your sender email domain, the ESPs recognize you as a legitimate source. SPF, DKIM, and DMARC are commonly used sender validation standards. You can obtain these DNS records from an authorized platform like SpamHero. In this article, we will configure the SPF, DKIM, DMARC, and MX, records and add them to the DNS provider to protect your emails against spamming and spoofing. So stay tuned!

Configure SPF and DKIM Record:

  1. On the SpamHero dashboard, click Outbound in the top menu bar.

  2. Go to the Outbound Settings tab.

    Click Outbound and go to Outbound Settings

  3. Here you'll find the SPF and DKIM records, add these to your DNS provider.

    SpamHero SPF and DKIM Records

Add SPF to DNS provider:

  1. Login to your DNS provider and go to your website.

    Go to your Website in the DNS provider

  2. Go to the DNS tab and click Add Record.

    Click DNS, go to Records and hit the Add Record button

  3. Select record type TXT.

  4. In the Name field, write down your domain name or write "@."

  5. In the Content field, add the SPF value: v=spf1 include:spf.spamhero.com ~all.

  6. Finally, click Save.

    Add the SpamHero SPF record to the DNS provider

Merge Multiple SPF Records:

Due to the limitations of the DNS providers, you can not add more than one SPF record to your domain. If there is an existing SPF record, merge it with the SpamHero SPF to avoid conflicts.

  1. Go to DmarcDkim.com SPF Merge tool.

  2. Add your domain name and SpamHero SPF value.

  3. Click Merge SPF Values.

  4. The tool merges your existing SPF with the new SPF and gives a merged value.

    Merge SPF values to get a single value

  5. In your DNS dashboard, replace the existing value with the merged value and click Save.

Add DKIM to DNS provider:

  1. In your DNS dashboard, select type CNAME.

  2. Copy the Host name and paste it into the Name field.

  3. Copy the Record value and paste it into the Target field.

  4. Turn off the proxy status and click Save.

    Add the CNAME record to the DNS provider

Verify SPF and DKIM Records:

  1. After adding all records, click the refresh icon with SPF and DKIM to validate them.

    Click the refresh icon to verify DNS records

  2. If records are validated successfully, you should see the the green highlited text with each record.

    DNS records verified

Setup MX Records:

If your domain has existing MX records, there is no need to add SpamHero MX records. Adding MX records from multiple sources can confuse the servers and cause conflicts.

However, if you see a warning on your SpamHero dashboard regarding MX records, add the SpamHero MX records to your DNS provider and delete the previous ones.

  1. Click Tools in the top menu bar and go to "Service Setup and Diagnostics."

    Click

  2. Here you'll find the MX records, add them to your DNS provider.

    SpamHero MX records

  3. In the DNS dashboard, select type MX.

  4. In the Name field, write "@."

  5. Copy the record value and paste it into the Mail Server field.

  6. Select priority same as mentioned with each MX record.

    Add the MX records to DNS provider

  7. Repeat the same process for adding all MX records.

  8. Once all records are added, click "I've added the required MX records."

    Click

NOTE: DNS records may take up to 24 hours to get verified.

If records do not validate after 24 hours, there might be a misconfiguration in your DNS setup. To troubleshoot the domain authentication issues, hire a DmarcDkim.com expert.

Setup DMARC Record:

DmarcDkim.com DMARC Check Tool allows you to implement a strict policy for emails coming from unauthorized sources. It also gives you actionable insights into your DMARC reports so you can change and improve policy accordingly.

  1. Go to DMARC Check Tool.

  2. Add your domain name and click Check.

    Write down the domain name and click Check

  3. Copy the suggested value and it to your DNS provider.

    Add the DMARC record to the DNS provider

  4. Click Sign up now to get access to the DMARC reports dashboard.

  5. The tool starts generating reports after 24 hours of adding the DMARC record to the DNS provider.