How to turn on DKIM
DKIM puts a digital signature on every email you send, so the receiving side can tell the message really came from you and was not changed on the way. Most providers support it but leave it to you to switch on.
How DKIM works
Your email provider holds a private key and signs each outgoing message with it. You publish the matching public key in your DNS. When Gmail or Outlook receives your message, they look up that public key and check the signature. If it matches, the message passes DKIM.
DKIM matters more than people think. Unlike SPF, it survives forwarding, and it is the check that usually carries DMARC to a pass. Turning it on is a two-part job: publish the DNS records, then switch signing on with your provider.
Microsoft 365
Microsoft 365 uses two DNS records, both CNAMEs, named selector1._domainkey and selector2._domainkey. Two keys let Microsoft rotate them without breaking your mail.
- Open the Microsoft Defender portal (security.microsoft.com) with an admin account.
- Find the DKIM settings. Go to Email & collaboration, then Policies & rules, then Threat policies, then Email authentication settings, and open the DKIM tab. Microsoft moves menus now and then. If you get lost, search the portal for "DKIM".
- Select your domain. The panel shows the two CNAME records Microsoft wants, with the exact values for your account. Copy them exactly. They are unique to you, so do not copy values from someone else's guide.
- Add both CNAMEs in your DNS settings. Name
selector1._domainkeypointing to the first value, andselector2._domainkeypointing to the second. If your DNS is at Cloudflare, leave the proxy off (gray cloud). - Go back to the DKIM panel and turn signing on for the domain. If it says the records cannot be found yet, wait a while and try again.
Google Workspace
Google uses one TXT record, normally at google._domainkey.
- Sign in to the Google Admin console (admin.google.com) as a super admin.
- Go to Apps, then Google Workspace, then Gmail, then Authenticate email.
- Pick your domain and generate a new record. Choose the 2048-bit key if your DNS host accepts it (most do). Leave the prefix (selector) as
google. - Add the TXT record in your DNS settings. Name
google._domainkey, value is the long text Google shows, starting withv=DKIM1. Paste it as one piece. - Back in the Admin console, click Start authentication. If Google says it cannot find the record yet, give DNS time to update and try again.
GoDaddy email
For GoDaddy's own email products (such as Professional Email), DKIM is usually set up by GoDaddy when your domain's DNS is also at GoDaddy. To check, open your domain's DNS settings and look for a record whose name contains _domainkey.
- If you see one and the checkup still says DKIM fails, the record may be from an old provider. Compare it with what your current email setup expects.
- If there is none, or your DNS is somewhere else (like Cloudflare), contact GoDaddy support and ask for the DKIM record for your email so you can add it where your DNS lives.
Other services that send as you
Newsletter, booking and invoicing tools often have their own DKIM setup in their settings, usually called "domain authentication" or "authenticate your domain". It typically means adding two or three CNAME records they give you. Do it for each tool that sends mail with your address in the "From" line, or DMARC will flag that mail later.
DKIM questions
Why does the checkup say DKIM is missing when my mail seems fine?
Mail can still arrive without DKIM, it is just more likely to land in spam and easier to fake. Some providers sign with their own domain by default, which does not help your DMARC. Turning on DKIM for your own domain fixes that.
Can I have more than one DKIM record?
Yes. Unlike SPF, each sending service uses its own selector name, so Microsoft 365, a newsletter tool and a booking system can each have their own DKIM records side by side.
The checkup cannot find my DKIM record. Is it broken?
Not necessarily. DKIM records live at a selector name that outsiders have to guess. The checkup looks for the common ones. If you use an unusual selector, check the result against your provider's DKIM page, or ask me.
Made the change? Run the checkup again.
The free checkup looks for your DKIM records and tells you whether your email setup holds together.