Protect your Lenovo Server
How to Fix DKIM TXT Record Truncation Issue in DNS: Complete Step-by-Step Guide for Google Workspace – Bison Knowledgebase

How to Fix DKIM TXT Record Truncation Issue in DNS: Complete Step-by-Step Guide for Google Workspace

What is DKIM?

DKIM (DomainKeys Identified Mail) is an email authentication method that adds a digital signature to your outgoing emails. It prevents spoofing and ensures that receiving mail servers can verify your domain as trusted.

To enable DKIM in Google Workspace, you must add a TXT record in your domain’s DNS settings.


? Problem: DKIM Value Not Fully Pasting in DNS

Many hosting providers limit TXT record length to 255 characters per segment.
Google’s DKIM keys are ~410 characters long, so some DNS panels:

βœ”οΈ Accept full DKIM value but display only part of it
❌ Or TRUNCATE automatically if pasted incorrectly

This causes DKIM to fail verification.


? Why Does This Happen?

The DNS standard (RFC 1035) allows TXT strings up to 255 characters per segment.
When longer values are needed, DNS allows splitting the value into multiple quoted strings on one record β€” the system automatically joins them together.


? How to Fix It: Split the DKIM Key into Two Parts

Host / TXT Record Name:

google._domainkey

DKIM TXT Record Value (Split)

? Part 1:

"v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1cx4A7bQ6sb/RGDOA78kiUzpDb8R99j1aP20wGOkf/3j9hGVW0hMBxIAZcJjy0bEHYHG2fsztIzk/L0WE/AfX399OLYryd3BlEhxn7cCz4+035Y5YoyOI5T6Q9bkpENH/8Qa3rLpLV+4/goB8C/4sWMeDbEEOFrMa4NfCe6jj2VPzSWBZuFK1SFAbl3N/cHX+"

? Part 2:

"PKd6AT+T4qYGSJaOWFkcnGd2Qyb9e6YRN6HodZPyGQ4kgpHjVQpoQ+WyhjcZ0MLqYvrk2bJWCUrBEcYCfLiW1MSu4O9uX+wvKOv1eF7kwplpPcY/Y8i+dmInh/Z+bkYT+xsx0whfQ2Un0bP/T/sEwIDAQAB"

⚠️ Requirements:

  • Keep exact characters β€” no changes

  • Quotes must remain around each chunk

  • One space between chunks only if on same line

  • Save as one TXT record

DNS will join them automatically when queried.


? After Publishing DNS

? In Google Admin Console:

1️⃣ Go to Apps β†’ Google Workspace β†’ Gmail
2️⃣ Select Authenticate Email
3️⃣ Click Start Authentication or Check Status

? DNS propagation may take 5 minutes to 48 hours.

When successful, status becomes:
βœ”οΈ Authenticating / Valid


? Example of What Not to Do

? Don’t paste partial or truncated strings
? Don’t create two different TXT records
? Don’t remove extra quotes or spaces inside strings

Wrong formatting β†’ DKIM Fail β†’ Emails may land in spam ❌


? Why DKIM is Important

BenefitImpact
Prevents spoofingStops hackers sending fake emails from your domain
Improves mailbox trustBetter deliverability to Gmail, Yahoo, Office 365
Avoids spam folder issuesEmail reputation protection


?‍? If You Are Using These DNS Providers

ProviderSupported?Notes
Cloudflareβœ”οΈPaste multiple strings automatically
GoDaddyβœ”οΈMust paste split version
cPanel / WebHost Managerβœ”οΈSometimes shows two text boxes
BigRock / ResellerClubβœ”οΈRequired splitting
Hostinger, Bluehostβœ”οΈSingle field but supports quoted splits

If you want, I can give exact screenshots and instructions for your DNS provider β€” just tell me the name. ?


? Conclusion

If your DKIM record is too long for DNS, splitting into 255-character segments fixes truncation instantly and ensures proper authentication.

This step boosts your email security, deliverability, and reputation.


#DKIM #GoogleWorkspace #DNS #EmailSecurity #SPF #DMARC #EmailAuthentication #TXTRecord #DNSSettings #Cloudflare #GoDaddy #cPanel #EmailDeliverability #AntiSpam #TechSupport #ITAdmin #EmailSetup #BusinessEmail #DomainSecurity #RsaKey #LongTXTRecord #DNSIssue #TruncatedRecord #GoogleAdmin #SecureEmail #MailServer #EmailTech #InboxPlacement #PhishingProtection #EmailReputation #SMTP #EmailManagement #DKIMSetup #DNSConfiguration #WebsiteManagement #GmailAdmins #ITGuide #EmailBestPractices #NetworkSecurity #SysAdmin #CloudHosting #TechGuide #HostingProvider #DNSFix #StepByStepGuide #DigitalSignature #AuthorizedSender #Cybersecurity #ITSupport #Tutorial


DKIM Google Workspace DNS TXT record DKIM troubleshooting DKIM setup guide email authentication domain key setup DNS settings DNS provider email deliverability DNS configuration DKIM key RSA DKIM DNS TXT length limit email security mail spo
← Back to Home