DKIM record generator
Generate a DKIM key pair and the DNS record to publish, right in your browser. Choose a selector and key size, then copy the public key into your DNS.
How to set up DKIM with this generator
- Enter your domain and a selector. The selector is just a label, like s1, so you can rotate keys later.
- Generate the keys. They are created in your browser and never leave your computer.
- Publish the public key as a TXT record at
selector._domainkeyon your domain. - Add the private key to the mail server or sending tool that signs your email, then send a test and check DKIM passes.
What DKIM does
DKIM (DomainKeys Identified Mail) adds a digital signature to every email you send. The receiving server looks up your public key in DNS and checks the signature, which proves the email really came from your domain and was not changed on the way.
Google Workspace and Microsoft 365
If you send from Google Workspace or Microsoft 365, generate DKIM inside their admin panel, not here. Google: Admin console, Apps, Google Workspace, Gmail, Authenticate email. Microsoft: Microsoft Defender portal, Email authentication settings, DKIM. They hold the private key for you.
Key size and rotation
Use 2048-bit keys wherever your DNS host supports them. Rotate keys every 6 to 12 months by publishing a new selector, switching your server to it, then removing the old record.
Frequently asked questions
Rather not touch DNS at all?
We set up and authenticate every cold email domain and inbox for you, then run the campaigns.