---
title: "Add MX, SPF, DKIM and DMARC records in Porkbun"
description: "Where Porkbun keeps your DNS records, the forwarding records to remove first, and how to add the MX, TXT and CNAME records your mail needs."
url: "https://flatinbox.com/dns/porkbun"
published: "2026-11-30"
updated: "2026-11-30"
---

# Add email records in Porkbun

In Porkbun, open Domain Management, select DNS under your domain, then Add Record. Pick the type, leave Host empty for the domain itself, paste the value into Answer and select Add. New records work within seconds.

Last updated 30 November 2026

Porkbun at a glance

- **DNS records:** Domain Management › DNS
- **Name box:** Host; leave it empty for the domain itself
- **TTL** (how long other servers may keep a copy): 600 seconds
- **New records answer:** Within seconds

Say you run a bakery called Corner Loaf, and you bought cornerloafbakery.com from Porkbun. Your mail host, the company that runs your email (Google Workspace, Microsoft 365, FlatInbox), gives you a list of records to add. The examples here are the ones FlatInbox gives Corner Loaf: your values will differ, but they go in the same boxes.

## Check that Porkbun runs your DNS

Your domain's nameservers, the servers that answer for it, decide which company's records count. Records added at Porkbun count only while your domain uses Porkbun's nameservers, which end in `ns.porkbun.com` (`curitiba`, `fortaleza`, `maceio` and `salvador`). You'll find them under your domain's **Details**, in Nameservers. If they point somewhere else, such as Cloudflare, add your records there ([Porkbun's page](https://kb.porkbun.com/article/63-how-to-switch-to-porkbuns-nameservers)).

## Open your DNS records

1. Sign in and open **Domain Management**.
2. Find your domain and select **DNS** under its name. The list of your current records opens.
3. Select **Add Record**, and keep the **Manual** tab.
4. Fill in the record and select **Add**. The form clears for the next record; **Back** returns to the list.

Porkbun's Host box takes only the part before your domain: `_dmarc`, not `_dmarc.cornerloafbakery.com`. For the domain itself, leave Host empty, even where your mail host says `@` ([Porkbun's page](https://kb.porkbun.com/article/231-how-to-add-dns-records-on-porkbun)).

## Remove Porkbun's own mail records first

Porkbun's default records send your domain's mail to its free forwarding: two MX records for `fwd1.porkbun.com` and `fwd2.porkbun.com`, and an SPF record, `v=spf1 include:_spf.porkbun.com ~all`. Before adding another mail host's records, delete those MX records with the trash icon, and replace that SPF record or merge it with your new one ([Porkbun's page](https://kb.porkbun.com/article/183-how-to-reset-dns-and-park-your-domain)). A domain has one set of MX records, so Porkbun's forwarding stops once they point elsewhere ([Porkbun's page on forwarding](https://kb.porkbun.com/article/10-how-to-set-up-email-forwarding-service)).

## Add an MX record

An [MX record](https://flatinbox.com/spf-dkim-dmarc#mx) tells other mail servers where to deliver your domain's mail. Corner Loaf's points at FlatInbox:

1. **Type:** MX - Mail exchange record
2. **Host:** empty
3. **Answer:** `inbound-smtp.us-east-1.amazonaws.com`
4. **TTL:** leave it as it is
5. **Priority:** `10`, then select **Add**

Porkbun's add record form with Corner Loaf's MX record, drawn from the field names on Porkbun's help pages (30 November 2026).

## Add TXT records for SPF and DMARC

An [SPF record](https://flatinbox.com/spf-dkim-dmarc#spf) lists the services allowed to send mail as your domain: each is an `include:` part, and the `~all` at the end covers everyone else. Add one only if a service you send from asks for it. Google Workspace does, with `v=spf1 include:_spf.google.com ~all`. FlatInbox doesn't need one.

1. **Type:** TXT - Text record, **Host:** empty
2. **Answer:** the record as your mail host gives it, without quotation marks, then **Add**

Your domain can have only one SPF record. To keep Porkbun's and add another sender, merge them into one, as Porkbun shows: `v=spf1 include:_spf.porkbun.com` followed by the new `include:`, then `~all` ([Porkbun's page](https://kb.porkbun.com/article/47-how-to-use-porkbun-email-when-your-dns-is-hosted-elsewhere)). Other TXT records can share the empty Host with it.

A [DMARC record](https://flatinbox.com/spf-dkim-dmarc#dmarc) tells other mail servers what to do with mail that uses your domain but fails the SPF and DKIM checks. Host `_dmarc`, Answer `v=DMARC1; p=none`, which asks them to deliver it as usual: the safe place to start. If you used Porkbun's email hosting, it may have added a `_dmarc` record already: edit that one rather than adding a second.

Corner Loaf's DMARC record in Porkbun's add record form (a drawing).

## Add a CNAME record for DKIM

[DKIM](https://flatinbox.com/spf-dkim-dmarc#dkim) puts a signature on each message you send, so the receiving inbox can tell it really came from you. Your mail host keeps the key that checks it, and a CNAME record, a pointer from a name on your domain to a name on theirs, tells inboxes where to find it:

1. **Type:** CNAME - Canonical name record
2. **Host:** `fi1._domainkey`
3. **Answer:** `fi1.k7m2p9x4q8ab.dkim.flatinbox.net`, then **Add**

A DKIM CNAME record in Porkbun's add record form (a drawing).

A CNAME's Host can't be empty and can't be shared with another record, and its Answer must be a full name ([Porkbun's page](https://kb.porkbun.com/article/231-how-to-add-dns-records-on-porkbun)). FlatInbox asks for three CNAME records like this one: `fi1._domainkey` and `fi2._domainkey` for its DKIM keys, and `bounce` for the address that collects bounced mail.

For Google Workspace, the **Quick Setup** tab next to Manual adds Google's MX and SPF records in one go ([Porkbun's page](https://kb.porkbun.com/article/44-how-to-connect-domain-to-google-workspace-email)). You still add the DKIM and DMARC records by hand.

## How long it takes

Porkbun puts it at five seconds: a new record usually answers everywhere moments after you select Add. A changed record takes about ten minutes, because Porkbun's shortest TTL is 600 seconds and other servers keep the old answer until it runs out ([Porkbun's page](https://kb.porkbun.com/article/33-how-long-will-it-take-for-changes-to-dns-to-show-up)). If you looked a name up before adding it, Porkbun says your own computer may keep finding nothing there for a few hours.

## Check that it worked

Check your domain's mail records

See your domain's MX, SPF, DKIM and DMARC records as the rest of the world sees them now.

## Porkbun's own help

We checked every step above against these pages on 30 November 2026:

- [How to Add DNS Records on Porkbun](https://kb.porkbun.com/article/231-how-to-add-dns-records-on-porkbun) and [How to Edit DNS Records](https://kb.porkbun.com/article/68-how-to-edit-dns-records)
- [How Long Will It Take for Changes to DNS to Show Up?](https://kb.porkbun.com/article/33-how-long-will-it-take-for-changes-to-dns-to-show-up)
- [How to reset DNS and park your domain](https://kb.porkbun.com/article/183-how-to-reset-dns-and-park-your-domain)
- [How to use Porkbun email when your DNS is hosted elsewhere](https://kb.porkbun.com/article/47-how-to-use-porkbun-email-when-your-dns-is-hosted-elsewhere)

## Your own domain, one inbox for the team.

Request access, and we'll write to you when your account is ready. Free for small teams, then $9 a month for everyone.

---

Every FlatInbox page, for AI tools: https://flatinbox.com/llms.txt
