Bobcares

Create multiple DKIM records with ease

by | Oct 20, 2021

Create multiple DKIM records like a pro under the guidance of our skilled Support Team.

At Bobcares, we come across various similar queries as a part of our Server Management Services.

Our Support Team investigates each issue and comes up with a foolproof solution every single time!

What is DKIM?

Before we delve into the solution let’s take a look at DKIM and DKIM records. DKIM or DomainKeys Identified Mail is an email authentication method. In other words, it detects forged header fields as well as content in your emails. The receiving email server checks email headers and content for any proof of tampering.

DKIM works on asymmetric cryptography. Furthermore, it is based on public keys, published by the DNS which is also accessible to the receiving server and private keys, known only to the sending server.

Can I have multiple DKIM records?

Yes! You can add multiple DKIMs on a single domain by creating multiple DKIM selectors, where each selector points to a DKIM record.

A DKIM record is in fact a TXT record that is published in the DNS. Moreover, is made up of a list of tags, including a “p=”tag that contains the public DKIM tag.

How to create multiple DKIM records?

Recently, one of our customers ran into trouble while using the Google email service. They were not able to send out emails via the server using PHP codes. Our Support Engineers investigated the issues and narrowed it down to the lack of a DKIM record.

Although the client had created a DKIM record for Google, they weren’t sure about how to go about creating multiple DKIM records. Let’s take a look at how our Support Team resolved the issue.

We have to publish a public key by creating a TXT record in the DNS for the hostname. This is done by concatenating the selector, the literal string ._domainkey as well as the token.

For instance:

hostname._domainkey.mydomain.com

In this example, the key pair is generated with the openssl command-line tool as seen below:

penssl genrsa -out mydomain.com.priv 1024
openssl rsa -in mydomain.com.priv -pubout >mydomain.com.pub

The content of the TXT record is created by concatenating “v=DKIM1;t=s;n=core;p=” and the public key. In other words:

v=DKIM1;t=s;n=core;p=<THE NEWLY GENERATED KEY>

Based on the nameserver used, you can avoid semicolons in the nameserver configuration file.

This nifty solution helped many of our customers create multiple DKIM records per domain without too much trouble.

[Looking for help with another issue? We are just a click away.]

Conclusion

In brief, we were taken through an elegant solution by the skilled Support Techs at Bobcares that involved creating multiple DKIM records.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.