Login Button

Speak to an Email Deliverability Consultant FOR FREE

EmailWarmup
Pricing

Free DKIM Generator

Generate Your DKIM Record in Under 60 Seconds

Our free DKIM generator creates valid, cryptographically secure key pairs that authenticate your emails in DNS in under 60 seconds.

Login Button

Generate your DKIM Record
Enter details to generate DKIM for your domain

Trusted by 1000+ companies

How to Publish Your Generated DKIM in DNS

Publishing a DKIM record means creating a TXT record with a selector-specific hostname in your domain's DNS zone. Most domain registrars and DNS hosting providers (GoDaddy, Cloudflare, Route 53, Namecheap) have a DNS management console where you add records manually.

Step 1: Log in to your DNS provider

Access your domain registrar or DNS hosting control panel. Look for "DNS Management," "Zone Editor," or "Advanced DNS."

Step 2: Navigate to your domain's DNS zone

Find the domain you're configuring DKIM for. Select it to open the record editor.

Step 3: Create a new TXT record

Choose "Add Record" or "Create Record." Set the record type to TXT.

Step 4: Set the hostname with your selector

Enter your DKIM hostname in this format: selector._domainkey.yourdomain.com — replace "selector" with your chosen selector name (like s1, default, or mail) and "yourdomain.com" with your actual domain.

Step 5: Paste your generated public key

Copy the public key value from EmailWarmup.com's DKIM generator and paste it into the "Value" or "TXT Content" field. Enclose the entire value in double quotes.

Step 6: Set TTL (Time to Live)

Use the default TTL (usually 3600 seconds / 1 hour) or set a custom value. Lower TTL values propagate changes faster, but increase DNS query load.

Step 7: Configure your mail server with the private key

Store the private key securely on your mail server or ESP. Configure your email system to sign outgoing messages using this key and your selector. (Third-party ESPs like Google Workspace or Microsoft 365 often provide their own DKIM keys — check their documentation.)

Step 8: Verify your DKIM record

Wait 10-30 minutes for DNS propagation. Use EmailWarmup.com's free DKIM checker to confirm the record is published correctly, and the signature validates properly.

DKIM Record Tags That Authenticate Your Emails

A DKIM record contains cryptographic and policy tags published as a DNS TXT record. The receiving mail server retrieves these tags to verify your email's digital signature.

TagWhat It DoesExample ValueRequired
vProtocol version (always DKIM1)v=DKIM1Yes
pPublic key string (RSA or Ed25519)p=MIGfMA0GCSqGSI...Yes
kKey type algorithmk=rsa or k=ed25519No (defaults to rsa)
aSigning algorithm useda=rsa-sha256No
tTesting mode flagt=y (testing) or t=s (strict)No
sService types alloweds=email or s=*No
hAcceptable hash algorithmsh=sha256No
nNotes for administratorsn=Production key 2025No
gGranularity (local-part matching)g=support or g=*No

DKIM Key Length and Security Considerations

DKIM key length determines encryption strength. Longer keys provide stronger security but may hit DNS record size limits on some providers.

Key LengthSecurity LevelDNS CompatibilityRecommendation
1024-bitBasic protectionUniversal supportDeprecated — vulnerable to modern attacks
2048-bitStrong protectionSupported by 99% of providersRecommended — best balance of security and compatibility
4096-bitMaximum protectionMay exceed DNS limits on some hostsUse only if your DNS provider supports large TXT records

DKIM Alone Won't Authenticate Your Domain

Your DKIM signature proves you sent the email — but it doesn't prevent attackers from sending emails that look like they're from you using a different domain (like yourcompany-secure.com instead of yourcompany.com).

You need a complete email authentication setup to protect your brand and maximize inbox placement. At EmailWarmup.com, you can talk to an email deliverability consultant for free and let our team:

  • Configure SPF, DKIM, and DMARC for bulletproof authentication
  • Remove you from email blacklists and repair sender reputation damage
  • Audit your email infrastructure and close security gaps that attackers exploit
  • Fix the technical issues killing your inbox rate (before you lose more deals)
  • Book your time today and make sure your email security is 100% locked down — so spoofed emails get rejected instead of reaching your customers' inboxes.

    Email Deliverability Illustration

    Frequently asked questions
    about our FREE DKIM Generator

    Here’s everything you need to know about our SPF Generator:

    +

    What is a DKIM record?

    +

    Can I have multiple DKIM records for one domain?

    +

    What is a DKIM selector?

    +

    Do I need to generate DKIM records if I use Google Workspace or Microsoft 365?

    +

    How do I check if my DKIM record is working?

    +

    What's the difference between DKIM and SPF?

    +

    How strict should my DKIM policy be?

    DMARC Illustration