On this page
What this issue is
DKIM (DomainKeys Identified Mail) is a digital signature added to each email you send. Your email service signs the message with a private key. The receiving server looks up the matching public key in your DNS and checks the signature.
The public key lives in a TXT record at selector._domainkey.yourdomain.com. The selector is a label such as google, s1, k1 or selector1. It lets one domain have several keys, for example one per email service.
This issue means the lookup fails. Either no record exists at that selector name, or the record holds a key that does not match the private key used to sign. Typical causes are a record that was never added, a typo, a record pasted with broken line breaks or quotes, a key rotated by the provider but not updated in DNS, a CNAME that was removed, or a migration to a new email service that left the old selector in place.
- Form submittedVisitor sends the lead form
- Email signedSender adds DKIM-Signature with s=selector
- DNS key lookupselector._domainkey record missing or wrong key
- Spam folder or rejectiondkim=fail, DMARC may fail too
- Lead unseenNobody follows up
The signature is added correctly, but the receiver cannot find a matching key, so authentication fails.
Why it costs you leads or sales
Mailbox providers use DKIM to decide whether a message really came from you. When it fails, messages are more likely to go to spam or be rejected. If you also publish a DMARC policy of quarantine or reject, a DKIM failure can sink the message completely when SPF does not align either.
The emails at risk are the ones that matter most: lead notifications to your team, auto-replies to the customer, order confirmations, booking confirmations and password resets. The form itself still looks like it works, so nobody notices. Leads sit in a junk folder or never arrive.
Example: illustrative numbers showing how a DKIM failure can change where 100 notification emails land. Your results will differ.
How to check if your site has it
Send a real test email
Submit your own contact form, or send a message from the tool in question (CRM, newsletter or store). Send it to a Gmail address you can open.
Open the original message
In Gmail, open the email, click the three dots and choose Show original. Look at the summary at the top for DKIM: PASS or DKIM: FAIL.
Find the selector and domain
In the headers, find the line starting DKIM-Signature. The s= value is the selector and d= is the signing domain. Example: d=yourdomain.com; s=s1.
Look up the DNS record
Query the TXT record at selector._domainkey.domain. A CNAME that points to your provider is also valid. If nothing comes back, the record is missing.
Compare with your provider
Open the domain authentication page in your email service and compare the expected record name and value with what is in DNS. A mismatch in the p= key means the wrong key.
dig +short TXT s1._domainkey.yourdomain.com
# If your provider uses a CNAME:
dig +short CNAME s1._domainkey.yourdomain.com| Header result | Likely cause | What to do |
|---|---|---|
| dkim=none | Message was not signed | Turn on domain authentication in your sender |
| dkim=fail (no key for signature) | Selector record missing or misnamed | Add the record at the exact selector name |
| dkim=fail (bad signature) | Record holds a different or damaged key | Replace with the value your provider shows now |
| dkim=fail (body hash did not verify) | Message changed after signing | Check footers, forwarders or security gateways that edit mail |
| dkim=permerror | Record is malformed | Remove stray quotes, spaces or line breaks and republish |
How to fix it
The fix is always the same idea: publish exactly what your email provider tells you to, at the exact name it gives you, in the DNS zone that is actually live for your domain.
Identify every service that sends as your domain
List your form plugin or SMTP service, CRM, newsletter tool, helpdesk and store. Each may use its own selector.
Get the current record from the sender
Open the sender's domain authentication or sender identity page and copy the record name and value it shows now. Providers rotate keys, so an old copy may be wrong.
Find where your DNS is hosted
Check your domain's nameservers. Edit records at that provider (registrar, Cloudflare, your host), not at a registrar whose nameservers are not in use.
Add or correct the record
Create the TXT (or CNAME, if the provider says so) at selector._domainkey. Many DNS panels add the domain automatically, so enter only selector._domainkey as the host.
Paste the value cleanly
Copy the full value with no added spaces or line breaks. For long keys, some providers need the value split into several quoted strings; others handle it for you.
Remove conflicting or stale records
Do not keep two different records at the same selector name. Delete old selectors only when you are sure no service still signs with them.
Verify in the sender, then send a test
Click Verify or Authenticate in the email service. DNS changes can take from minutes up to a few hours to show.
Find the sending service
Check your SMTP or form plugin settings (for example the SMTP plugin's provider and domain authentication screen). WordPress itself does not hold DKIM records.
Publish the record in DNS
Add the DKIM record at your DNS host, not in WordPress. If the plugin sends through your hosting mail server, ask the host for the DKIM record or enable DKIM in the hosting control panel.
Open the domain settings
In Shopify admin go to Settings > Domains and check that the domain's DNS is set up as Shopify expects for store email.
Fix records at the DNS host
If you send store or marketing email through another service, add that service's DKIM records at your DNS provider as it instructs. Then send a test order notification and check the headers.
Not applicable to tags
Tag Manager does not send email or hold DKIM keys. Fix the record at your DNS host and the email service instead.
Find where form email is sent from
Webflow form notifications are sent by Webflow. If you send from your own domain through another tool (such as a newsletter or CRM), set up DKIM in that tool.
Edit DNS where the domain is managed
Add the provider's DKIM record in your DNS settings. If your DNS is at Webflow, use the DNS records area of the domain; otherwise use your registrar or DNS host.
Open your sending domain
In GoHighLevel, open the email settings for your dedicated sending domain and review the DNS records it asks for, including the DKIM record.
Match them at your DNS host
Add the exact record name and value shown, then use the verify option in the account and send a test email.
Check how your domain is connected
If the domain's DNS is managed in Wix, open the domain's DNS records and add or correct the DKIM record there. If you use a business email provider such as Google Workspace, generate the DKIM key in that provider first.
Use the right DNS panel
If the domain is only connected to Wix with nameservers elsewhere, edit the record at that DNS host.
Open DNS settings
In Squarespace, go to Settings > Domains, choose the domain and open DNS Settings if it is managed there.
Add the provider's record
Add the DKIM record from your email provider (Google Workspace, Microsoft 365 or another sender). If the domain is hosted elsewhere, edit it at that DNS host.
Check your mail library and sender
If you send through an API (SendGrid, Mailgun, Postmark, Amazon SES and similar), use that service's domain authentication page for the record.
If you sign yourself
If your own server signs with OpenDKIM or similar, publish the public key from your key file. The selector in the signing config must match the DNS name.
Host/Name: s1._domainkey
Type: TXT
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A...
# Always copy the real value from your email provider.Broken
- No TXT or CNAME at selector._domainkey
- Or a key from an old provider still in place
- Headers show dkim=fail
- Notifications land in spam
Fixed
- Record at the exact selector name
- Value matches the sender's current key
- Headers show dkim=pass
- Notifications reach the inbox
How to confirm it's fixed
- A DNS lookup of selector._domainkey.yourdomain.com returns the expected record
- The email service shows the domain as verified or authenticated
- A new test email shows DKIM: PASS in Gmail's Show original
- The d= domain in the signature matches or aligns with your From domain
- Every service that sends as your domain has been tested, not just one
- DMARC reports, if you collect them, show DKIM passing for your sources
How to prevent it happening again
Day 1
You set up DKIM for your email service and it passes.
Month 4
You change DNS host or tidy old records and the selector TXT is deleted.
Month 4
Forms still submit and the thank-you page still shows.
Weeks later
Lead notifications start landing in spam. Someone notices a missing enquiry.
- Keep a list of every service that sends email as your domain, with its selector
- Export or screenshot your DNS zone before any migration or host change
- Copy DKIM records to the new DNS host before switching nameservers
- Do not delete selector records unless you have confirmed they are unused
- Re-verify domain authentication after a provider rotates keys
- Send a test form submission after every DNS or email provider change
- Publish DMARC with reporting so you see DKIM failures by source
How FunnelGuard handles this
FunnelGuard detects this issue today with two checks. The first looks at DKIM keys in DNS: it uses selectors it has learned from earlier emails your journeys produced, and checks that a key is published for each one. The second looks at authentication results on the test email itself and flags a DKIM fail.
A robot visitor runs your real lead form on a schedule, from the EU or the US, and checks that the test lead reaches the inbox and CRM. If a failure appears, it is re-checked from a second region before one alert goes out (email, Slack, Teams, WhatsApp, webhook or PagerDuty) with a screenshot and a likely cause. Test submissions are marked with utm_source=funnelguard and fg_test=1.
Selectors are learned from earlier emails, so a selector FunnelGuard has never seen in a message cannot be checked in advance. The free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial.
Questions people ask
Why is my DKIM failing?
DKIM fails when the receiving server cannot find a public key at selector._domainkey.yourdomain.com, or finds one that does not match the key the sender used to sign. Common causes are a missing record, a typo in the name, a pasted value with line breaks, or a provider that rotated keys. Check the DKIM-Signature header for the s= and d= values and compare them to your DNS.
How do I find my DKIM selector?
Open a real email you sent, view the original headers and find the DKIM-Signature line. The s= value is the selector, for example s=s1. Your email provider's domain authentication page also lists the selector name it expects.
What does 'no key for signature' mean in DKIM?
It means the signature points to a selector, but DNS has no DKIM record at that name. Add the TXT or CNAME record exactly as your email provider shows it, in the DNS zone that is live for your domain, then send a new test.
How do I fix a DKIM record with the wrong key?
Copy the current record name and value from your email provider and replace the existing record with it. Provider keys can rotate, so an old copy may be outdated. After saving, verify in the provider and send a new test email to check for dkim=pass.
Can I have more than one DKIM record?
Yes, as long as each uses a different selector, such as one for your CRM and one for your newsletter tool. You should not have two different records at the same selector name. Each service signs with its own selector.
How long does a DKIM DNS change take to work?
Often minutes, but it can take a few hours depending on the record's TTL and your DNS host. Check with a DNS lookup first, then send a fresh test email, because old messages keep their old result.
Does a DKIM failure always send email to spam?
No, but it raises the risk, especially if your DMARC policy is quarantine or reject and SPF does not align either. Some messages still reach the inbox, which is why the problem often goes unnoticed.
Can FunnelGuard tell me if my DKIM record is broken?
Yes. FunnelGuard checks DKIM keys in DNS for selectors it has learned from earlier emails, and flags a DKIM fail in the authentication results of test emails. It then alerts you with a screenshot and a likely cause.
Related issues
- DLV-048Domain has no SPF recordFix guide
- DLV-051SPF missing the ESP's include (SendGrid, Mailgun, Postmark)Fix guide
- DLV-053DMARC record missing (Gmail/Yahoo bulk sender requirement)Fix guide
- DLV-054DMARC alignment fails because From domain differs from the sending domainFix guide
- DLV-057Sending domain or IP on a blocklist (Spamhaus, Barracuda)Fix guide
- DLV-056MX record changed during a website migrationFix guide