DNS host rejects the long key
Some DNS panels cannot store a 2048-bit TXT value. Google says to choose 1024 only if your host does not support 2048.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
To set up DKIM, generate a key in your email provider, publish the TXT (or CNAME) record it gives you in DNS, wait for it to resolve, then switch signing on and confirm dkim=pass in a test message. Google Workspace uses a TXT record; Microsoft 365 uses two CNAMEs.
In Google Workspace it is Apps, Google Workspace, Gmail, Authenticate email in the Admin console.
Choose 2048 bits if your DNS host supports it. Keep the default selector google unless another service already uses it.
Host is selector._domainkey, for example google._domainkey. Value is v=DKIM1; k=rsa; p=your key.
Google says allow up to 48 hours for DKIM to start working. Do not click Start authentication before the record exists.
Click Start authentication (Google) or enable signing for the domain (Microsoft).
Send to a Gmail or Workspace address that is not yourself, open Show original and look for dkim=pass.
| Item | Google Workspace | Microsoft 365 |
|---|---|---|
| Record type | TXT | Two CNAME records |
| Host name | google._domainkey (default selector) | selector1._domainkey and selector2._domainkey |
| Value | v=DKIM1; k=rsa; p=key | Targets copied from the Microsoft 365 admin center |
| Key length | 1024 or 2048 bits, your choice | Set by Microsoft |
| Wait time | Up to 48 hours after publishing | Verification runs in the admin center |
Your mail platform signs only its own mail. A newsletter tool or CRM sends from different servers and needs its own DKIM records, published in your DNS, so its mail signs with your domain.
Some DNS panels cannot store a 2048-bit TXT value. Google says to choose 1024 only if your host does not support 2048.
Google says to wait 24 to 72 hours after turning on Gmail before generating the key, or you may get a record error.
Entering the full name in a panel that appends the domain creates google._domainkey.example.com.example.com.
google._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBg..."
selector1._domainkey.example.com. IN CNAME selector1-example-com._domainkey.tenant.onmicrosoft.com.
; the Microsoft CNAME target is shown to you in the admin center; copy it exactlyGoogle states allow up to 48 hours after the DNS record is added. In practice resolvers often see it sooner, but do not activate signing until a lookup returns the record.
selector._domainkey.yourdomain. For the Google default that is google._domainkey. Many DNS panels append your domain automatically, so enter only google._domainkey there.
Yes. Each service that sends as your domain should sign with a d= matching your domain, or a subdomain of it, for DMARC to align. Follow each vendor own DKIM guide.
Google says sending to yourself will not verify it. Send to an outside mailbox and read the Authentication-Results header.
For bulk senders, yes. Google requires SPF and DKIM for senders of 5,000 or more messages a day. Sending to personal Gmail accounts needs a key of 1024 bits or longer, and Google recommends 2048.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.