How to add a DKIM TXT record to the domain?

Here you will be shown on how to add domain name keys Identified Mail (DKIM) TXT records to the domain. DKIM is the method by which one can fight spam which works by associating outgoing email with a domain through a digital signature. In this case, sending mail server attaches the “signature” to an email which has been encoded with a private key.

If the receiving mail server is being configured to check the DKIM it will be using a corresponding public key for decoding the signature and verify the authenticity. When DKIM is enabled email will be less spammy, and the recipient mail servers are less likely to filter any type of the email. Hence it will improve the deliverability.

One should remember that you must be having HostingRaja name servers.


You need to login to the Account center and then click on the domain name that you would like to add the DKIM TXT records too. Or you can hover the domains tab at the top of the Account center and then click show all. Now you need to select the relevant domain from the list.

Now you need to edit the DNS file zone option. Which is under the DNS and Zone Files Menu.

How to add a dkim txt record to the domain one

Then click on the +Add Row for creating a new record. This record will tell the mail server that all the email message associated with this domain name use DKIM.

  • Subdomain (Name): _domainkey

  • Type: TXT

  • Data: o=-

Now you need to click on the +Add row for creating a new record and then add the DKIM key. This is the public key which is used to decode the email associated digital signature. Once it has been added to both records you need to click on Save Changes. Now you need to allow up to 24 hours for propagation, after which the DKIM is enabled for this domain name.

How to add a dkim txt record to the domain three

  • Subdomain (Name): default._domainkey
  • Type: TXT
  • Data: Your DKIM key.

This is the process of adding DKIM TXT record for adding the domain name in a server.

Additional Notes :
Plesk contains a built-in way to toggle DKIM on and off. Yet, allowing DKIM for outgoing email requests that you reach the associated TXT record from Plesk and count it to your Media file.

As for as cPanel is concerned cPanel provisions SPF and DKIM for new accounts by default. Yet, the system does not automatically provide these DNS records for existing accounts. You can allow DKIM for all accounts simultaneously via WHM, or for unique domains via cPanel. The DKIM TXT file you get from cPanel needs to be saved as part of your Media file if you want to allow DKIM for outgoing email.