Gmail Advacnce settings

How can you configure DKIM for your Google Apps Domain

Spam handling is one of the important aspects to take care to protect your mail address from being abused and DKIM is one of the techniques which can help in that regard.

We already discussed about adding SPF to your domain. DKIM (stands for DomainKeys Identified Mail) is another authentication technique that can be adopted to trace if an incoming mail was authorized to have been sent by the owner of the domain. Thus, it helps to prevent spam and email forgery.




Through DKIM, the sending domain affixes a digital signature to all their outgoing mails. Thus, a private domain key is added to the outgoing mail headers and a public record is present in the DNS records.

When the message is received by the sender, they can retrieve the DNS records and decrypt the mails to find if the message is coming from the right domain.

Setting up DKIM authentication for your domain:

generate DKIM for google apps domain

In Google Apps, you can setup the DKIM records in the below easy steps:

  1. Sign in to the admin console of your Google Apps domain.
  2. Go to: Apps > Google Apps > Gmail > Authenticate email.
  3. As the primary domain name appears by default, select the domain for which you want to generate the record.
  4. Click on “Generate New Record”.generate-dkim
  5. Let the default prefix be “Google” and click on “Generate”.
  6. Next, sign in to your domain registrar admin console and go to the DNS records.
  7. Create a new TXT record with the details received from the admin console. The DNS Hostname should be entered in the 1st section and the TXT value in the 2nd
  8. The record would be something like: “v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAraC3pqvqTkAfXhUn7Kn3JUNMwDkZ65ftwXH58anno/bElnTDAd/idk8kWpslrQIMsvVKAe+mvmBEnpXzJL+0LgTNVTQctUujyilWvcONRd
  9. After adding the record, save it. Next, you would need to wait for a few hours for it to propagate.
  10. After 24 hours, turn on Email signing in the Admin Console by clicking on “Authenticate Email” at Apps>Google Apps>Gmail.
  11. Select the domain from the list for which you want to turn ON DKIM. Now, click on “Start Authentication”.




READ  How to set up DMARC Authentication for your Google Apps domain

Verifying DKIM implementation:

To verify if the implementation of DKIM was successful, for your domain, send a mail to your colleague or a test mail to yourself. Check out the “Show original” section to see header details. You could find the signature added to the header.

Alternatively, you can send a mail to check-auth@verifier.port25.com from your email and get the results of SPF and DKIM both. If the result says “PASS”, you have successfully implemented it. J

Spammers will have a hard time now. 😉

About the author

Learning Hub Editorial Team

We are a team of tech enthusiasts who find Google Apps and its features intriguing. Let us know your views if you find us helpful.

Leave a Comment