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

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).

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).

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). A domain has one set of MX records, so Porkbun's forwarding stops once they point elsewhere (Porkbun's page on forwarding).

Add an MX record

An MX record 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 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). Other TXT records can share the empty Host with it.

A DMARC record 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 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). 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). 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). 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

Porkbun's own help

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

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.

We only use your address to tell you when your account is ready.