Question

How to create DKIM key in Ubuntu and add it to DNS record

  • In Ubuntu 18.04 which commands should I run to create DKIM private and publick key for domain. Can I do that by using Openssl tool or no

I checked this question DKIM on DNS panel DigitalOcean and this article How To Install and Configure DKIM with Postfix on Debian Wheezy but it is for Debian Wheezy not Ubuntu 18.04

  • After I created the keys (public and private), How can I add the public key to domain vi Digitalocean DNS

  • Finally can I use that private key to setup DKIM Signing using Nodemailer

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi @amjedomar,

You can use the tutorial for Debian Wheezy, it’s really the same technology implemented the same way as it’s described in the tutorial.

As soon as you generate the Private and Public key, you’ll need to add the Public key to your DNS so that when you send e-mails receiving servers know which DNS and which Private Key to check.

Regards, KDSys