Email Auth Check › Guides

What is DKIM and how do I set it up?

DKIM adds a cryptographic signature to each message. The receiver fetches your public key from DNS and checks the message wasn’t altered and really came from a server you authorized.

Selectors

Keys live at <selector>._domainkey.yourdomain.com. Each sending service uses its own selector (for example google, selector1, s1), so you can have many DKIM keys at once.

Setting it up

  1. In each service that sends as your domain, find the “authenticate domain” or DKIM setting.
  2. Publish the TXT or CNAME record it gives you, exactly as shown.
  3. Turn signing on in that service. Some don’t start signing until you click verify.

Testing

Send a message to a Gmail account, open it, choose “Show original” and look for DKIM: PASS with your domain. DKIM can’t be fully checked from DNS alone without knowing the selector, which is why the original-message view is the reliable test.

See exactly what your domain’s SPF, DKIM and DMARC look like, free.

Check my domain

Frequently asked questions

Should I use 1024-bit or 2048-bit keys?

2048-bit is recommended where your provider and DNS host support it.

More guides