How to Set Up DKIM for Every Service That Sends as Your Domain
To set up DKIM for every service that sends as your domain, first list every platform that uses your domain in the From address, then enable custom DKIM in each one and publish the records it gives you under that service's own selector. Finally, send a test from each and confirm the d= value in the signature is your domain.
Most domains have DKIM for staff email and nothing else. The newsletter tool, CRM, helpdesk and invoicing app keep signing with their own domains, which passes DKIM but does not align with your From address. Under DMARC, that is a failure.
Why one key is not enough
A DKIM signature proves that a domain vouched for a message (RFC 6376). DMARC then asks whether that domain matches the one in the visible From. A platform that signs as d=esp-example.net produces a valid signature that says nothing about example.com.
Since the bulk-sender rules from Google, Yahoo and Microsoft took effect, mail that cannot align with your domain is the mail most likely to be filtered or rejected. Every sender needs its own aligned signature.
Step 1: Make the inventory
You cannot sign what you have forgotten about. Sources to check:
- Your DMARC aggregate reports. They list every IP that sent mail claiming your domain. The DMARC report analyzer turns the XML into a readable table.
- Billing. Any subscription to a tool that emails customers or prospects.
- Your website. Contact forms, order confirmations, password resets.
- Colleagues. Sales, support and finance often set up their own tools.
Write down each service, what it sends, and the From address it uses.
Step 2: See what is already published
Run your domain through the DKIM selector finder, or the DKIM checker if you already know a selector. They try common selectors and shows each key it finds, its length, and the platform behind it where DNS makes that clear. Two things to look for:
- Services on your inventory with no key. These are the ones to fix.
- Keys for services you no longer use. Removing them is housekeeping, and it stops a former vendor's key from vouching for your domain.
Step 3: Turn on custom DKIM in each service
The steps differ by platform, but the shape is the same: find the domain authentication or sender settings, add your domain, and copy the DNS records it gives you. These are usually either:
| Record type | What it looks like | Who manages the key |
|---|---|---|
| CNAME | s1._domainkey.example.com points to a host at the provider |
The provider, who can rotate it for you |
| TXT | selector._domainkey.example.com contains v=DKIM1; k=rsa; p=... |
You, when you rotate |
CNAME setups are easier to live with because the provider can change keys without asking you. A few well-known defaults: Google Workspace uses the selector google unless you choose another, and Microsoft 365 uses selector1 and selector2 CNAMEs. Other platforms pick their own, which is why each service gets a different name and none of them clash.
Publish the records, then go back to the platform and click its verify button. Many will not start signing with your domain until they see the records.
Step 4: Check the signature on a real message
Send a message from each service to a mailbox you control and open the source. Find the DKIM-Signature header:
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=s1; ...
d= should be your domain or a subdomain of it, and s= the selector you published. In the Authentication-Results header, look for dkim=pass with header.d=example.com. If you see two signatures, one yours and one the provider's, that is normal and fine. Our guide to reading email headers shows where each of these sits.
Step 5: Deal with the stragglers
Some tools cannot sign with a customer domain. Options, best first:
- Use aligned SPF instead. If the tool lets you set a custom return-path on your domain, SPF can carry DMARC alignment.
- Move it to a subdomain. Send that tool's mail from something like
notify.example.com, so a weaker setup there does not hold back the main domain's DMARC policy. - Replace it. A tool that cannot authenticate as you is a liability once you move DMARC to enforcement.
Keep it current
DKIM is not a one-time job. New tools get added, keys age, and vendors change setups. Check the selector list whenever you add a sender, and rotate self-managed keys on a schedule; our post on 2048-bit DKIM keys and rotation covers how. When every source passes aligned, you are ready to tighten DMARC from none to reject.
Authentication proves the mail is yours. A clean list keeps the bounces down once it arrives. Sign in with Google and your first 100 email checks are free, no card. For bigger lists, the monthly plans are on the pricing page.
Common questions
Can several services use DKIM on the same domain?
Yes. Each service publishes its public key under its own selector, a name like s1._domainkey.example.com, so any number of keys can live on one domain. That is exactly what selectors are for.
How do I know if a service is signing with my domain?
Send a test message through it and open the headers. Find the DKIM-Signature header and look at the d= value. If it shows your domain (or a subdomain of it), the signature can align for DMARC. If it shows the provider's domain, it is signing as itself.
What if a tool cannot sign DKIM with my domain?
Then its mail can only pass DMARC through aligned SPF, which needs your domain as its envelope sender. If neither is possible, send that tool's mail from a subdomain you are prepared to leave at a relaxed DMARC policy, or replace the tool.
What DKIM key length should I use?
2048 bits where the service allows it. Many platforms generate 2048-bit keys by default, while some older setups still use 1024. If you manage the key yourself, plan to rotate it periodically.
Do I need to set up DKIM if SPF already passes?
Yes. SPF breaks when mail is forwarded, and Microsoft's high-volume rules ask for both SPF and DKIM to pass. DKIM survives forwarding as long as the message is not altered, so it is usually the more reliable path to DMARC alignment.
Check your list before you send
Real mailbox checks over SMTP, and nothing is sent to the address. Sign in with Google and your first 100 email checks are free, no card. Plans for bigger lists are on the pricing page.
5.0 on G2