I am trying to set this up for my domain’s email service. Most of the tutorials I’ve found are outdated or cover different OS. I am just wanting to make sure I do this right the first time.

This is pasted from CPanel verbatim;

CPanel:DKIM Configuration

This system does not control DNS for the “alturaswebsolutions.com” domain. You can install the suggested “DKIM” record locally. However, this server is not the authoritative nameserver. If you install this record, this change will not be effective. Contact the person responsible for the “ns3.digitalocean.com”, “ns1.digitalocean.com”, and “ns2.digitalocean.com” nameservers and request that they update the “DKIM” record with the following: lists text


CPanel:SPF Configuration

This system does not control DNS for the “alturaswebsolutions.com” domain. You can install the suggested “SPF” record locally. However, this server is not the authoritative nameserver. If you install this record, this change will not be effective. Contact the person responsible for the “ns3.digitalocean.com”, “ns1.digitalocean.com”, and “ns2.digitalocean.com” nameservers and request that they update the “SPF” record with the following:

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi there @AlturasWebSolutions,

As the nameservers of your alturaswebsolutions.com domain name are set to the DigitalOcean nameservers, you need to copy the DNS records from your cPanel Zone manager and add them to your DigitalOcean DNS zone.

You can follow the steps on how to add DNS records via your DigitalOcean Control panel here:

https://www.digitalocean.com/docs/networking/dns/

You can add the SPF and the DKIM records as TXT records.

Let me know if you have any questions.
Regards,
Bobby

  • hi,
    i am using vps(Cpanel installed/CentOS Linux release 7.9.2009) from Digital Ocean.

    can you tell me “if i want to remove the pre created DKIM key and want to add a new DKIM key(both private and public) then where i have to paste the private DKIM key”???

    i generated my DKIM key and added the public DKIM key in my Domain DNS record as TXT. but i am not quite sure where i have to add the Private DKIM key.

    i have SSH access to my VPS

    • Hi there @kukudapatrik,

      I wrote a post a while ago on how to manually add DKIM public and private key to your cPanel/WHM server.

      Basically what needs to happen is:

      • First you need to first generate the DKIM key, Generate a Domain key. If needed you can generate the key via this or any other site:

      DKIM Wizard

      • Find the location of the domain keys folder in exim Edit the exim conf and look for DKIM.

      There you should see the path were the keys are stored example:

      /var/cpanel/domain_keys/private
      
      • Update the domain keys

      Find the domain in question and update the DKIM private key there. For example, I would say that my domain is bobbyiliev.com

      Add the private key to:

      /var/cpanel/domain_keys/private/bobbyiliev.com
      

      Add the public key to:

      /var/cpanel/domain_keys/public/bobbyiliev.com
      
      • Set up your DNS

      You will need to add a record to your DNS server with the public key as standard.

      • Restart Exim

      To be on the safe side just give your exim instance a quick restart so that you would be sure that exim would read the new DKIM.

      Hope that this helps.

      Regards,
      Bobby

Submit an Answer