DNS host

Porkbun DKIM, SPF and DMARC setup

In Porkbun open Domain Management, click DNS under the domain and select Add Record. SPF is a TXT record with the Host left blank, DMARC a TXT record with Host _dmarc, and DKIM a TXT or CNAME record at <selector>._domainkey. Porkbun shows your domain after the Host field, so type only the part before it. Porkbun email gets its DKIM key at default._domainkey from one button.

Porkbun

What goes in Host

SPF · Host

Leave blank (the root domain)

DKIM · Host
<selector>._domainkey
DMARC · Host
_dmarc

Check the records after you save them

Enter the domain: SPF, DKIM at common selectors, DMARC and MX are looked up live, so you see whether Porkbun is serving the new records yet.

Try

Lookups go from your browser to Cloudflare's public DNS resolver; nothing is stored. Without a selector the checker tries the ones providers document.

What you get

The result, in plain words

  1. Pass, warning or fail for SPF, DKIM, DMARC and MX
  2. SPF lookups counted against the limit of 10
  3. DKIM keys found at google, selector1, selector2 and 50+ other selectors
  4. The records to publish, with the steps at your DNS host

Porkbun email

DKIM and SPF for Porkbun email and Google Workspace

Porkbun sets DKIM and DMARC for its own mailboxes with one button, and its Quick Setup writes Google Workspace's MX and SPF records. If you only host DNS here, skip to the field values.

  • Porkbun Email Hosting and Forwarding

    Porkbun's own mailboxes and free forwards, both on Porkbun's mail servers

    SPF record
    v=spf1 include:_spf.porkbun.com ~all
    MX records

    fwd1.porkbun.com (priority 10) and fwd2.porkbun.com (priority 20)

    DKIM · Host
    default._domainkey
    DKIM and DMARC values

    TXT records Porkbun creates when you click Configure DMARC

    Step by step

    1. Open the email pagesource (opens the vendor's page in a new tab)

      In Domain Management click the envelope icon under EMAIL next to the domain to open Email Hosting and Forwarding

    2. Click Configure DMARCsource (opens the vendor's page in a new tab)

      Scroll to Additional Notices & Configuration and click Configure DMARC in the DMARC Notice box; it sets up DKIM too. The button shows only when the domain has a hosted mailbox

    3. Confirmsource (opens the vendor's page in a new tab)

      Click OK to confirm, then OK again on the message that the DMARC and DKIM records are queued

    4. Refresh after 5 to 10 minutessource (opens the vendor's page in a new tab)

      The DMARC Notice now says the domain is configured for DKIM and DMARC, with buttons to delete or reset the records

  • Google Workspace on a Porkbun domain

    Google's mailboxes; Porkbun's Quick Setup adds MX and SPF, and you add DKIM and DMARC by hand

    SPF record (Quick Setup)
    v=spf1 include:_spf.google.com ~all
    DKIM · Host
    google._domainkey
    DMARC (Porkbun's example)
    v=DMARC1; p=quarantine;

    Step by step

    1. Run Quick Setupsource (opens the vendor's page in a new tab)

      Details > the edit icon at DNS RECORDS > Add record > Quick Setup tab > Google Workspace, then OK. Porkbun adds the smtp.google.com MX record and the SPF record

    2. Generate the key at Googlesource (opens the vendor's page in a new tab)

      In the Google Admin console generate the DKIM record; with the default prefix selector its Name is google._domainkey

    3. Add it as a TXT recordsource (opens the vendor's page in a new tab)

      In Porkbun: Add record, Manual tab, Type TXT - Text record, Host google._domainkey, paste Google's value into Answer / Value and click Add

    4. Start authenticationsource (opens the vendor's page in a new tab)

      After a minute or two click Start Authentication in Google; the status changes to Authenticating email with DKIM

Field values

What goes in each field in Porkbun

Where: Domain Management > DNS under the domain (or Details > DNS RECORDS) > Manage DNS Records > Add Recordsource (opens the vendor's page in a new tab)

SPF
Type
TXT - Text record
Host
Leave blank (the root domain)
Answer / Value
v=spf1 include:<your provider> ~all
TTL
600 (the default and the minimum)
DKIM
Type
TXT - Text record, or CNAME - Canonical name record if your provider gives a CNAME
Host
<selector>._domainkey
Answer / Value
The key, or the CNAME target in the Target field
TTL
600 (the default and the minimum)
DMARC
Type
TXT - Text record
Host
_dmarc
Answer / Value
v=DMARC1; p=none; rua=mailto:<address>
TTL
600 (the default and the minimum)

Step by step

Add a record in Porkbun

TXT record: SPF, DMARC and DKIM keys

  1. Open Manage DNS Recordssource (opens the vendor's page in a new tab)

    Log in to Domain Management and click DNS under the domain, or Details and the edit icon under DNS RECORDS

  2. Add a TXT recordsource (opens the vendor's page in a new tab)

    Click Add Record, keep the Manual tab and set Type to TXT - Text record

  3. Host and Answer / Valuesource (opens the vendor's page in a new tab)

    Leave Host blank for SPF, or type _dmarc or <selector>._domainkey. Paste the record into Answer / Value

  4. Addsource (opens the vendor's page in a new tab)

    Keep the TTL at 600 and click Add. No error message means the record is saved; Back shows it in the list

CNAME record: DKIM from a provider that hosts the key

  1. Open Manage DNS Recordssource (opens the vendor's page in a new tab)

    Domain Management > DNS under the domain, then Add Record

  2. Choose CNAMEsource (opens the vendor's page in a new tab)

    Set Type to CNAME - Canonical name record and type the Host, such as selector1._domainkey

  3. Fill in Targetsource (opens the vendor's page in a new tab)

    Paste the full target your provider gives; it must be a fully qualified domain name

  4. Addsource (opens the vendor's page in a new tab)

    Click Add, then Back to see the record in the list

Porkbun specifics

Before you save

Records by provider

The exact values each service asks for:

Troubleshooting

Common Porkbun errors and fixes

For cold email

Mailboxes that come with the DNS records done

Outreach2day buys the domains, publishes SPF, DKIM and DMARC, creates the mailboxes and starts warmup, then sends your campaigns from its own sequencer or exports the mailboxes to Instantly or Smartlead.

  • SPF, DKIM and DMARC set for youOn every domain, checked after setup and kept in place
  • $2.50 a mailbox a month12-mailbox minimum; warmup and the sending engine included
  • 1,000+ mailboxesA volume price per mailbox, quoted on a call

Questions

How do I add a Porkbun DKIM record?

Open Domain Management, click DNS under the domain and select Add Record. Set Type to TXT - Text record (or CNAME - Canonical name record if your provider gives a CNAME), type <selector>._domainkey in Host without your domain, paste the value and click Add.

For Porkbun's own email you do not paste a key: Configure DMARC on the Email Hosting and Forwarding page creates the default._domainkey record together with DMARC.

What is the Porkbun SPF record?

For Porkbun's own email it is v=spf1 include:_spf.porkbun.com ~all; for any other provider, use that provider's include. To add it, select Add Record, set Type to TXT - Text record, leave Host blank and paste the value into Answer / Value. The root domain can hold only one SPF record, so put every sending service's include in that one record.

How do I add the Google Workspace DKIM record in Porkbun?

Generate the DKIM record in the Google Admin console with the default selector, then in Porkbun add a TXT - Text record with Host google._domainkey and Google's value in Answer / Value. Wait a minute or two and click Start Authentication in Google. Porkbun's Quick Setup for Google Workspace adds the MX and SPF records but leaves DKIM and DMARC to you.

How do I set up SPF, DKIM and DMARC on many Porkbun domains for cold email?

Each sending domain needs its own SPF record at the root, the DKIM record from the service that sends its mail and a TXT record at _dmarc. Porkbun's Bulk Manage can change DNS records or nameservers across many domains at once, and it replaces the previous settings without asking again, so test the change on one domain first.

Outreach2day cold email infrastructure sets SPF, DKIM and DMARC automatically, including on domains you connect by pointing their nameservers to us.

Deliverability call

Talk to our deliverability team

Book a call with the people who run our mailbox infrastructure. We look at your current setup and tell you what to change. Running 1,000+ mailboxes? We also quote a volume price below every vendor list price in our comparisons, warmup and sending included.

  • Review your domains, DNS records and current inbox placement
  • Size the setup: domains, mailboxes per domain and daily volume per mailbox
  • Plan warmup and the move from your current provider or sequencer
  • 1,000+ mailboxes: a volume price per mailbox for your setup

Free call

See open times in your time zone and book on this page.

Or open the booking page