If you're wondering how to set up DKIM for your domain, this is precisely the place where you want to be.

Setting up and configuring DKIM is a pivotal factor that influences your email deliverability.

In this article, you'll find why that's the case, plus how-to tutorials ti enable DKIM and verify DKIM settings.

What is DKIM signing?

DKIM signing (DomainKeys Identified Mail) is an email authentication method that assists in detecting forged sender addresses in email and helping senders associate a domain name with an email message, vouching for its authenticity in the process.

dkim setup

In simple terms, DKIM key configures an encrypted signature to the header of all your outgoing messages which email servers later decrypt, thus verifying the message was not changed after it was sent. It's your digital signature that fights email spoofing, frankly said.

Here’s how to setup DKIM for your domain

We've organized all tutorials in two groups: Google and Microsoft Office. No matter which email service provider you use, you'll find how-to guides to help you out.

Configure DKIM for Google

  • General set up (all domain providers)
  • Google with Namecheap
  • Google with Cloudflare
  • Google with Bluehost

Configure DKIM for Microsoft Office

  • General set up (all domain providers)
  • Microsoft with Namecheap
  • Microsoft with Cloudflare
  • Microsoft with Bluehost

Google DKIM setup example

Google is a straightforward choice for many.

Luckily for all, Google DKIM setup is a breeze if you have the right tutorial to follow. We've prepared a few for you, depending on your domain provider.

How to create a DKIM record for all domain providers

In order to set up GSuite DKIM record, you need to get a unique record from Google, and to do that we need to go to Apps -> G Suite -> Settings for Gmail -> Authenticate email:

how to setup dkim for your domain

Now click "Generate new record" and copy the hostname and TXT record value:

how to setup dkim for your domain

Now you need to:

  1. Go to DNS
  2. Click on "Add new record"
  3. Choose TXT record
  4. Put DNS hostname that in "Name"
  5. Put TXT record from Google in "Value"
how to setup dkim for your domain

DKIM setup for Google & Namecheap

In order to set up DKIM record, you need to get a unique record from Google, and to do that we need to go to Apps -> G Suite -> Settings for Gmail -> Authenticate email:

dkim setup

Now click "Generate new record" and copy the hostname and TXT record value:

dkim setup
  1. Log in to Namecheap
  2. Go to Domain list and choose your domain
  3. Go to Advanced DNS
  4. Click on "Add new record"
  5. Choose TXT record
  6. Put DNS hostname that in "Name"
  7. Put TXT record from Google in "Value"
  8. Save it!
dkim setup

Now come back to Google Workspace and click "Start authentication":

dkim setup

DKIM setup for Google & Cloudflare

In order to set up DKIM record, you need to get a unique record from Google, and to do that we need to go to Apps -> G Suite -> Settings for Gmail -> Authenticate email:

setting up dkim record

Now click "Generate new record" and copy the hostname and TXT record value:

setting up dkim record
  1. Log in to Cloudflare
  2. Go to Domain list and choose your domain
  3. Go to Advanced DNS
  4. Click on "Add new record"
  5. Choose TXT record
  6. Put DNS hostname that in "Name"
  7. Put TXT record from Google in "Value"
  8. Save it!
setting up dkim record

Now come back to Google Workspace and click "Start authentication":

setting up dkim record

DKIM setup for Google & Bluehost

In order to set up DKIM record, you need to get a unique record from Google, and to do that we need to go to Apps -> G Suite -> Settings for Gmail -> Authenticate email:

verify dkim

Now click "Generate new record" and copy the hostname and TXT record value:

verify dkim
  1. Log in to Bluehost
  2. Go to Domain list and choose your domain
  3. Go to Advanced DNS
  4. Click on "Add new record"
  5. Choose TXT record
  6. Put DNS hostname that in "Name"
  7. Put TXT record from Google in "Value"
  8. Save it!
verify dkim

Now come back to Google Workspace and click "Start authentication":

verify dkim

Microsoft Office DKIM setup example

Microsoft Office is your preferred choice? We got you.

DKIM setup, depending on your domain provider, is a bit different than when you're using Google.

Let's crack on.

How to create a DKIM record for all domain providers

In order to set up DKIM record, you need to get a unique record from Exchange, and to do that we need to go to Home -> Policy -> DKIM

verify dkim

Select the domain for which you want to enable DKIM and then, for Sign messages for this domain with DKIM signatures, choose Enable. Repeat this step for each custom domain.

Setting up DKIM record for Microsoft Office & Namecheap

In order to set up DKIM record, you need to get a unique record from Exchange, and to do that we need to go to Home -> Policy -> DKIM

verify dkim

Select the domain for which you want to enable DKIM and then, for Sign messages for this domain with DKIM signatures, choose Enable. Repeat this step for each custom domain.

Setting up DKIM record for Microsoft Office & Cloudflare

In order to set up DKIM record, you need to get a unique record from Exchange, and to do that we need to go to Home -> Policy -> DKIM

verify dkim

Select the domain for which you want to enable DKIM and then, for Sign messages for this domain with DKIM signatures, choose Enable. Repeat this step for each custom domain.

Setting up DKIM record for Microsoft Office & Bluehost

In order to set up DKIM record, you need to get a unique record from Exchange, and to do that we need to go to Home -> Policy -> DKIM

verify dkim

Select the domain for which you want to enable DKIM and then, for Sign messages for this domain with DKIM signatures, choose Enable. Repeat this step for each custom domain.

Key takeaways

  • Setting up DKIM record helps fight email spoofind and misuse
  • If you want to have high email deliverability, it's a must to enable dkim record

☝️ Once you enable DKIM, job is not done. We have to set up SPF and MX records next.

How-to: How to create SPF record

How-to: How to configure mx records

Complete guide: Email sending reputation audit