How the Zendesk DKIM Setup Works: A Complete Technical Guide
The Zendesk DKIM setup works by delegating digital email signing authority from your organization's custom domain to Zendesk using two CNAME DNS records. Once these records are added to your DNS provider and activated in the Zendesk Ad...
The Zendesk DKIM setup works by delegating digital email signing authority from your organization's custom domain to Zendesk using two CNAME DNS records. Once these records are added to your DNS provider and activated in the Zendesk Admin Center, Zendesk automatically signs outgoing support emails with a unique cryptographic key, validating sender authenticity and satisfying modern DMARC requirements.
Contents
Understanding How Zendesk DKIM Signatures Work
DomainKeys Identified Mail (DKIM) is an email authentication method designed to detect header spoofing and message tampering during transit. When your support agents respond to customer tickets from a custom domain (such as support@yourcompany.com), the receiving email servers—such as Gmail, Microsoft 365, and Yahoo Mail—require proof that Zendesk is authorized to send messages on behalf of your domain.
Without DKIM setup, outgoing Zendesk emails rely solely on basic SPF (Sender Policy Framework) authentication or send messages through Zendesk’s shared system domain (support@yoursubdomain.zendesk.com). In modern email infrastructure, relying on basic sending mechanisms without DKIM alignment frequently causes messages to land in spam folders or be rejected outright by recipient mail servers enforcing strict DMARC (Domain-based Message Authentication, Reporting, and Conformance) policies.
- Customer Domain (Your DNS)
- CNAME
- Zendesk Domain (Public Key)
- Signs
- Outbound Support Ticket Emails
Zendesk implements DKIM delegation using dual CNAME (Canonical Name) records. Rather than requiring you to copy and manually paste static public cryptographic keys (TXT records) into your DNS host, Zendesk instructs you to point custom DKIM selectors directly to Zendesk’s managed domain keys.
This dual-CNAME approach offers three primary structural advantages:
- Automated Key Rotation: Zendesk can periodically rotate the underlying public and private cryptographic keys on its server infrastructure to maintain high cryptographic security without requiring manual DNS updates on your part.
- Key Length Management: Standard TXT records for 2048-bit DKIM keys can exceed string length limits in older DNS control panels. CNAME records bypass length limitations by linking directly to Zendesk’s managed keys.
- Redundancy: By establishing two distinct key selectors (
zendesk1andzendesk2), Zendesk can seamlessly transition between active keys during system maintenance or key rotation cycles without causing deliverability lapses.
When an agent replies to a ticket, Zendesk attaches a digital signature to the outgoing email header (DKIM-Signature:). The receiving mail server reads the selector specified in the header, queries your DNS host for zendesk1._domainkey.yourdomain.com, follows the CNAME redirection to zendesk1._domainkey.zendesk.com, retrieves the public key, and verifies the signature payload against the email content.
Prerequisites Before Configuring Zendesk DKIM
Before enabling DKIM within Zendesk Support, ensure your environment meets the necessary administrative and structural requirements:
- Custom Email Address Setup: You must have already configured a custom support email address in Zendesk (Admin Center > Channels > Email) rather than relying solely on the default
@yoursubdomain.zendesk.comsystem address. - DNS Hosting Access: You need administrative access to your domain's DNS management console (such as Cloudflare, AWS Route 53, GoDaddy, Namecheap, or Google Cloud DNS) to create CNAME records.
- Domain Ownership Verification: Your target domain must be properly verified within Zendesk to permit outbound sending delegation.
- Active SPF Record: While DKIM operates independently, robust DMARC compliance requires a valid SPF record containing
include:mail.zendesk.comalongside your DKIM configuration.
Step-by-Step Configuration Guide
Configuring DKIM in Zendesk involves a two-phase process: first, publishing the appropriate CNAME records in your domain's DNS manager, and second, triggering verification within the Zendesk Admin Center.
Step 1: Add CNAME Records to Your DNS Host
Log into your DNS provider's dashboard and navigate to the zone management file for your custom domain. You must add two individual CNAME records. Replace yourdomain.com with your actual sending domain name.
Record 1:
- Type: CNAME
- Name / Host / Subdomain:
zendesk1._domainkey(orzendesk1._domainkey.yourdomain.com, depending on your DNS host's interface requirements) - Target / Value / Points to:
zendesk1._domainkey.zendesk.com - TTL: Automatic or 3600 seconds (1 hour)
Record 2:
- Type: CNAME
- Name / Host / Subdomain:
zendesk2._domainkey(orzendesk2._domainkey.yourdomain.com) - Target / Value / Points to:
zendesk2._domainkey.zendesk.com - TTL: Automatic or 3600 seconds (1 hour)
Important Note for Proxy Services: If you use DNS managers like Cloudflare that offer HTTP proxying (represented by an orange cloud icon), set the proxy status for both DKIM CNAME records to DNS Only (gray cloud). Enabling proxy features on DKIM records breaks DNS resolution for mail servers attempting key lookup.
Step 2: Enable DKIM in Zendesk Admin Center
Once the DNS records are saved, navigate to your Zendesk instance to activate signing:
- Open Zendesk Admin Center by clicking the product launcher icon in the top right corner.
- In the left sidebar, navigate to Channels > Email.
- Scroll down to the Custom domain for emails section.
- Locate your domain name and click Option / Edit, or scroll to the DKIM (DomainKeys Identified Mail) settings.
- Click Enable or toggle the DKIM switch on.
- Click Save.
Zendesk will immediately attempt to query your domain's DNS records to verify that the CNAMEs exist and resolve correctly to zendesk1._domainkey.zendesk.com and zendesk2._domainkey.zendesk.com.
- Step 1: Add CNAMEs to DNS Host
- zendesk1 & zendesk2 ._domainkey targets
- Step 2: Wait for DNS Propagation
- Typically 15m - 4h
- Step 3: Enable DKIM in Admin Center
- Channels > Email
- Step 4: Verify via External Inspection
- Dig, MXToolbox, Test Email
Zendesk DKIM DNS Record Specification Reference
Use this reference table to verify exact DNS parameters across standard setup scenarios:
| Parameter Field | Primary Record (Selector 1) | Secondary Record (Selector 2) | Technical Notes |
|---|---|---|---|
| Record Type | CNAME |
CNAME |
Must be CNAME; do not use TXT records for initial delegation. |
| Host / Name | zendesk1._domainkey |
zendesk2._domainkey |
Append domain only if required by your DNS host console. |
| Target / Value | zendesk1._domainkey.zendesk.com |
zendesk2._domainkey.zendesk.com |
Standard global Zendesk target endpoint. |
| Proxy Status | Disabled / DNS Only | Disabled / DNS Only | Cloudflare/CDN proxies will break DKIM lookups if enabled. |
| TTL | 3600 (1 Hour) or Auto |
3600 (1 Hour) or Auto |
Lower TTL helps accelerate verification testing. |
| Key Length | Managed by Zendesk (2048-bit) | Managed by Zendesk (2048-bit) | Zendesk manages underlying key rotation automatically. |
How DKIM Interacts with SPF and DMARC in Zendesk
Understanding DKIM in isolation is insufficient for modern enterprise deliverability. Receiver systems evaluate DKIM alongside SPF and DMARC to make inboxing decisions.
DMARC Identifier Alignment
For DMARC to pass, an email must achieve alignment on either SPF or DKIM. Alignment requires that the domain present in the visible From: header matches the domain authenticated by DKIM or SPF.
- SPF Alignment in Zendesk: SPF checks validate the hidden
Return-Pathheader (also known asenvelope-fromorMail-From). By default, Zendesk uses its own domain (support@subdomain.zendesk.com) for the envelope-from address. As a result, SPF authentication passes, but SPF alignment fails under strict DMARC rules unless custom return-path records are enabled. - DKIM Alignment in Zendesk: Because setting up DKIM configures signatures directly using your custom domain (
d=yourdomain.com), DKIM achieves strict domain alignment with your visibleFrom:header (From: support@yourdomain.com).
Because DKIM alignment is straightforward to establish in Zendesk, configuring DKIM is the primary and most reliable method to ensure full DMARC compliance for Zendesk support ticket traffic.
- DMARC Compliance Evaluation
- Visible From Header: support@yourdomain.com
- DKIM Signature Domain: d=yourdomain.com (Alignment: MATCH)
- Result: DMARC Passes via DKIM Alignment (Message Delivered to Inbox)
Troubleshooting Common Setup Issues
If Zendesk displays an error message such as "DKIM records not found" or "Verification failed" upon toggling the setting, systematic troubleshooting can help isolate the root cause.
1. DNS Propagation Delays
DNS changes do not publish instantaneously across global resolver networks. While many modern cloud DNS providers propagate changes within minutes, propagation can take up to 24 to 48 hours in legacy systems.
You can check public propagation status using terminal commands such as dig or nslookup:
dig CNAME zendesk1._domainkey.yourdomain.com +short
Expected Command Output:
zendesk1._domainkey.zendesk.com.
If the command returns no output, your local or host DNS has not yet published the record.
2. Domain Name Duplication Syntax Errors
A common error when entering records into DNS management consoles (such as cPanel or GoDaddy) is duplicating the domain name.
- Incorrect Host Entry:
zendesk1._domainkey.yourdomain.com.yourdomain.com - Correct Host Entry:
zendesk1._domainkey
If your provider automatically appends your root domain to the host field, entering zendesk1._domainkey.yourdomain.com results in a broken, duplicated host path.
3. CAA Record Interference
Certification Authority Authorization (CAA) records govern SSL certificate issuance and do not affect DKIM directly. However, if your domain uses strict DNSSEC policies or restrictive DNS firewall policies, ensure outbound DNS queries on port 53 for _domainkey subdomains are not blocked or corrupted.
4. Multiple Subdomain Mismatches
If your support team operates from a subdomain (e.g., help@support.yourcompany.com), your DKIM records must be created under that specific subdomain's zone:
- Host for Subdomain:
zendesk1._domainkey.support - Target:
zendesk1._domainkey.zendesk.com
Publishing DKIM records exclusively to the apex domain (yourcompany.com) will not validate custom support addresses operating on distinct subdomains.
Best Practices for Maintaining Zendesk Email Deliverability
To maintain high deliverability rates across large volumes of customer support emails, implement the following operational standards:
- Maintain Combined SPF Records: Always include
include:mail.zendesk.comin your apex domain's TXT SPF record alongside your DKIM setup. Do not create multiple SPF records for a single domain; merge them into one single string. - Implement a DMARC Policy Gradually: Start with a monitoring policy (
v=DMARC1; p=none; sp=none;) to receive aggregate reports (RUA) and confirm Zendesk emails pass DKIM validation before upgrading your DMARC policy top=quarantineorp=reject. - Audit Third-Party Integrations: If you utilize Zendesk apps or integrations that send emails through secondary SMTP relays, ensure those dedicated sending IP addresses or services are authenticated independently.
- Monitor DNS Lookup Limits: SPF enforces a strict limit of 10 external DNS lookups per evaluation. Delegating authentication to DKIM insulates your infrastructure against deliverability failures caused by hitting the SPF 10-lookup limit.
Frequently Asked Questions
Can I use TXT records instead of CNAME records for Zendesk DKIM?
No. Zendesk requires CNAME records to delegate DKIM signing. Using CNAMEs allows Zendesk to handle public key distribution and automated key rotation on their managed infrastructure without requiring manual intervention from your IT administrators.
How long does it take for Zendesk to verify DKIM DNS records?
DNS propagation typically takes anywhere from 15 minutes to 4 hours, though full global propagation can occasionally take up to 24 hours depending on your DNS host's Time to Live (TTL) settings.
Will setting up DKIM affect my existing incoming support emails?
No. DKIM strictly manages outbound email authentication and digital signing for outgoing ticket notifications and agent replies. It does not alter your inbound MX records or email forwarding rules.
Do I need to set up DKIM for every custom email address in Zendesk?
DKIM is configured at the domain level. If you have multiple support addresses using the same domain name (such as billing@yourcompany.com and sales@yourcompany.com), a single pair of DKIM CNAME records authenticates all outbound emails for that entire domain.
What happens if I switch DNS providers after setting up Zendesk DKIM?
If you migrate your DNS hosting to a new provider, your active CNAME records will not transfer automatically. You must re-create the two DKIM CNAME records in your new DNS provider's control panel to prevent DKIM verification failures and avoid deliverability disruptions.
Recommended Next Steps
To verify your Zendesk DKIM setup is functioning correctly:
- Send a test ticket response from your Zendesk instance to an external test email account (such as a personal Gmail address or an email testing service like Mail-Tester).
- Open the received message, access the raw message options (e.g., "Show Original" in Gmail), and inspect the headers.
- Confirm that the
DKIMstatus displays PASS with the domain matching your custom domain (d=yourdomain.com), and verify that the DMARC status evaluates to PASS.