← All posts

How to add a DKIM record in Namecheap

DKIMNamecheapHow-to

DKIM lets receivers verify that a message really came from your domain. The key is created by your email service; you publish it in Namecheap’s Advanced DNS.

Check where your DNS lives

Open the domain in Domain List, then Manage, and look at Nameservers. If it says Namecheap BasicDNS or PremiumDNS, continue here. If it uses custom nameservers, add the record at that DNS provider instead.

Add the record

  1. Open Advanced DNS for the domain.
  2. Click Add New Record under Host Records.
  3. Type: TXT Record or CNAME Record, matching your provider’s instructions.
  4. Host: the selector only, for example selector1._domainkey. Namecheap appends the domain.
  5. Value: the key or target host from your provider. For TXT, paste without quotes.
  6. TTL: Automatic.
  7. Save with the green check mark.

CNAME targets from providers usually end with a dot-less hostname. Paste them exactly as provided.

Verify

dig +short TXT selector1._domainkey.example.com

When the key (or CNAME) shows up, return to your email service and run its verify step, then send a test email and check for dkim=pass. The guide on email headers shows how to read the result.

Troubleshooting

  • Verification fails right away: DNS changes may take a few minutes to an hour. Wait and retry.
  • Host contains the domain twice: remove the domain suffix you typed.
  • Key rejected: make sure there are no spaces or line breaks inside the p= value.
  • Several services: each service must use a different selector name.

See also the SPF, DKIM and DMARC overview for how the pieces fit together.