Defaults.Exposed

Defaults.Exposed › Setup › DKIM

How to set up DKIM on Porkbun

Publish the DKIM key from your email provider in your Porkbun DNS so your emails carry a tamper-proof signature.

Why this matters to your business

DKIM (DomainKeys Identified Mail) adds an invisible digital signature to every email you send. The receiving mail provider uses a public key you’ve published in your DNS to confirm two things: the message really came from your domain, and nobody altered it on the way.

In plain terms: DKIM is a seal of authenticity on your email. It makes impersonation harder and improves the chance your genuine mail reaches the inbox rather than spam. It’s free and it’s a one-time setup.

Important: DKIM has two halves

DKIM is the one record where it really matters who does what:

So: generate at your email provider, publish at Porkbun. Both halves are needed.

Confirm Porkbun runs your DNS

A DKIM record only works if it’s added wherever your domain’s nameservers point. If you registered the domain at Porkbun and left it on Porkbun’s default nameservers, you’re in the right place. If your nameservers point elsewhere (a web host, Cloudflare, your email provider), add the DKIM record there instead.

In your Porkbun account, open the domain and check the Authoritative Nameservers shown on its details page. If they’re Porkbun’s own nameservers, continue below.

Get the records from your email provider

Before touching DNS, collect the DKIM details from whoever runs your email:

Note whether you were given TXT records or CNAME records — you’ll choose the matching type in the next step.

Step-by-step on Porkbun

  1. Sign in to Porkbun and open Account → Domain Management.
  2. Find your domain and click the Details (cog) icon, then open the DNS Records editor for that domain.
  3. In the Add a DNS record area, set Type to match what your provider gave you — TXT for most providers, or CNAME for Microsoft 365.
  4. In the Host field, enter only the selector part — for example google._domainkey or selector1._domainkey. Do not add your domain name on the end; Porkbun appends it automatically.
  5. In the Answer field, paste the value your provider gave you:
    • For a TXT record, the long key value beginning v=DKIM1;.
    • For a CNAME record, the target host (e.g. the ...onmicrosoft.com address).
  6. Leave TTL on the default.
  7. Click Add to save. For Microsoft 365, repeat for the second selector.

Porkbun quirks people get wrong

Verify it worked

After publishing the record (and switching DKIM on at your provider, if required), run the free check on Defaults.Exposed. It will confirm in plain language whether your DKIM record is published and readable. Your data is processed in the EU.

Done? Check your domain free to confirm it worked — and see your full grade across all 34 checks.