You can use DKIM wizards to generate your DKIM public and private key pair. There are a lot of DKIM wizards, however, Dynu is a good option.
Follow these steps to generate DKIM keys using Dynu's site:
- Enter the domain name.
- Enter the selector name. Choose a selector name that describes the type of email you are sending, such as marketing or newsletter. You should also standardize your selector names for ease of tracking.
- Select 1024 bits or 2048 bits for your desired key size. Due to DKIM specification, make sure your key is at least 1024 bits.
- Click Generate.