DKIM (DomainKeys Identified Mail) is a security standard that lets the receiving server check that an email really came from your domain and was not changed on the way. This article is for Neo admins who want to add a DKIM record to their domain. Setting it up helps stop your emails going to spam at the recipient's end.
What DKIM is and how it works
DKIM is an email security standard that makes sure an email is not altered in transit between the sender's server and the recipient's server. It uses public-key cryptography (a pair of matching keys, one private and one public) to verify that a message was sent from an authorized mail server.
DKIM works with your existing email setup, and together with SPF and DMARC it creates multiple layers of security for domains that send email. Your sending server signs each email with a private key. The recipient's server then uses the public key published in your domain's DNS (the settings that tell the internet how to handle your domain) to check the source and confirm the email was not altered. When the signature checks out, the email passes DKIM and is treated as authentic.
Generate a DKIM record in Neo
Log in to the Neo Admin panel.
In the sidebar, click the Email Reputation tab.
Scroll down and click the Add button in the Add DKIM record section. Neo generates a custom DKIM record for your domain.
Add the DKIM record to your DNS
Important: Add the TXT record in the control panel that your domain's authoritative name server (NS) records point to. You can use a third-party tool to check your domain's NS records. See How to find authoritative (Active) DNS Zone for my domain.
In the Neo Admin panel, copy the DNS Host Name shown once the DKIM record is generated.
Open your domain's control panel and go to its DNS Zone.
Create a new TXT record.
In the Hostname field, paste the DNS Host Name you copied.
Copy the TXT record value from the Neo Admin panel and paste it into the TXT value field of the new record.
Go back to the Neo Admin panel, select I've created this TXT record within my DNS control panel, and click Verify DKIM Record.
A new DKIM record can take up to 6 hours in some cases to spread across the internet. If it is not verified within a few minutes, try again a couple of hours after adding it.
What you will see
Once verification succeeds, your domain's DKIM record is set and verified.
If something goes wrong
These DKIM errors can appear when sending email.
Error in DKIM public key, DKIM public key not found in DNS
Cause: The DKIM public key record is missing from your DNS. This most commonly happens because of a mistake when adding DNS records by hand.
Fix: Add the record back, then try sending an email again.
Error in DKIM public key, invalid DKIM key format
Cause: The DKIM key in your DNS panel has incorrect values or formatting.
Fix: Copy the exact DKIM value from the Neo control panel. After you re-verify the key, changes can take some time to show, up to your DNS TTL (the time DNS settings are kept before refreshing).
Error in DKIM public key, more than one TXT record in same selector
Cause: The DKIM record in your DNS has more than one TXT value. Multiple DKIM key records under the same selector are not allowed, to avoid conflicts.
Fix: Paste the exact value from the control panel. After you re-verify the key, changes can take some time to show, up to your DNS TTL.
If you need help, email hello@neo.space.