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
- Sign in and open Domain Management.
- Find your domain and select DNS under its name. The list of your current records opens.
- Select Add Record, and keep the Manual tab.
- 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.. 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 . 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:
- Type: MX - Mail exchange record
- Host: empty
- Answer:
inbound-smtp.us-east-1. amazonaws. com - TTL: leave it as it is
- Priority:
10, then select Add
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 . FlatInbox doesn't need one.
- Type: TXT - Text record, Host: empty
- 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 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; , 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.
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:
- Type: CNAME - Canonical name record
- Host:
fi1._domainkey - Answer:
fi1., then Addk7m2p9x4q8ab. dkim. flatinbox. net
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: