Migadu + Porkbun

Set up Migadu email on Porkbun

The records Migadu needs, written with the field names Porkbun uses (Host, Answer), in the order to add them.

  • 5 steps
  • 8 DNS records

Before you start

  1. Have your Migadu account ready. Some values are unique to your account and come from the Migadu admin .
  2. Open DNS at Porkbun: Open Domain Management (ACCOUNT, then Domain Management). Click the DNS button under your domain, or Details and then the edit icon under DNS RECORDS.
  3. Keep both tabs open and add the records below one at a time.

Records to add

Copy each value with the button next to it. Rows marked “Copy from Migadu admin” are unique to your account.

Domain verification Proves you own the domain Type TXT Host Leave empty Value Copy from Migadu admin Not yet confirmed by us Priority n/a TTL Default
MX records Where incoming email goes Type MX Host Leave empty Value aspmx1.migadu.com Priority 10 TTL Default
MX records Where incoming email goes Type MX Host Leave empty Value aspmx2.migadu.com Priority 20 TTL Default
SPF record Which servers may send as you Type TXT Host Leave empty Value v=spf1 include:spf.migadu.com -all Priority n/a TTL Default
DKIM A signature on every message Type CNAME Host key1._domainkey Value key1.yourdomain.com._domainkey.migadu.com Priority n/a TTL Default
DKIM A signature on every message Type CNAME Host key2._domainkey Value key2.yourdomain.com._domainkey.migadu.com Priority n/a TTL Default
DKIM A signature on every message Type CNAME Host key3._domainkey Value key3.yourdomain.com._domainkey.migadu.com Priority n/a TTL Default
DMARC record What to do with fakes · recommended Type TXT Host _dmarc Value v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com Priority n/a TTL Default

Step by step in Porkbun

Verify your domain

Your email provider needs proof that you control this domain before it accepts email for it.

Type
TXT
Host
Leave this field empty
Answer
Copy it from Migadu admin (see below)

Where to find your value

Copy the verification record shown for your domain in the Migadu admin (admin.migadu.com).

We haven’t been able to confirm this value from Migadu's public docs yet, so we don’t show one.

In Porkbun

  1. Choose TXT as the Type.
  2. Leave Host blank for your bare domain (or enter the subdomain name), and paste the value in Answer.
  3. Click Add.

Point your MX records

MX records tell other mail servers where to deliver your email. How MX works

Type
MX
Host
Leave this field empty
Priority
10
Answer
aspmx1.migadu.com
Type
MX
Host
Leave this field empty
Priority
20
Answer
aspmx2.migadu.com

In Porkbun

  1. Choose MX as the Type.
  2. Leave Host blank, enter the mail server in Answer and the Priority your provider gives you. Leave TTL at its default.
  3. Click Add.
  4. Repeat for each MX record above.

Add the SPF record

SPF lists the services allowed to send email as you. How SPF works

Type
TXT
Host
Leave this field empty
Answer
v=spf1 include:spf.migadu.com -all
  • A domain must have only one SPF record. If you already have one, add include:spf.migadu.com to it instead of creating a second.

In Porkbun

  1. Choose TXT as the Type.
  2. Leave Host blank for your bare domain (or enter the subdomain name), and paste the value in Answer.
  3. Click Add.

Set up DKIM

DKIM signs your mail so receivers can trust it. How DKIM works

Type
CNAME
Host
key1._domainkey
Answer
key1.yourdomain.com._domainkey.migadu.com
  • The target includes your own domain name, so each domain's DKIM target is different.
  • Migadu's example ends the target with a period. Add it only if your DNS host asks for fully qualified names.
Type
CNAME
Host
key2._domainkey
Answer
key2.yourdomain.com._domainkey.migadu.com
Type
CNAME
Host
key3._domainkey
Answer
key3.yourdomain.com._domainkey.migadu.com

In Porkbun

  1. Choose CNAME as the Type.
  2. Enter the Host (it can't be empty) and the target in Answer.
  3. Click Add.
  4. Repeat for each CNAME record above.

Add the DMARC record (recommended)

DMARC tells receivers what to do with mail that fakes your domain. How DMARC works

Type
TXT
Host
_dmarc
Answer
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
  • Start with p=none (no action) and read the reports for a while. Replace the report address with a mailbox you actually read.
  • Migadu suggests v=DMARC1; p=quarantine; which asks receivers to treat failing mail as suspicious (usually spam). Move to it once SPF and DKIM pass.

In Porkbun

  1. Choose TXT as the Type.
  2. Leave Host blank for your bare domain (or enter the subdomain name), and paste the value in Answer.
  3. Click Add.

Check your setup

Once the records are saved, run a live check. We look up your domain in public DNS and tell you what is right, missing or wrong, with the fix in Porkbun’s words.

We only read public DNS records. Nothing is stored.

Common mistakes with Migadu on Porkbun

Using a DKIM target without your domain

Each DKIM CNAME points to a target that contains your own domain, like key1.yourdomain.com._domainkey.migadu.com. Copy the full target for your domain.

Adding only one DKIM record

Migadu uses three DKIM CNAME records: key1, key2 and key3. Add all three.

Porkbun: CNAME hosts must be unique

A CNAME's Host can't be empty and can't be shared with any other record on the domain.

1 more Migadu mistake to avoid

Migadu on Porkbun: questions

Where do I add Migadu DNS records in Porkbun?

Open Domain Management (ACCOUNT, then Domain Management). Click the DNS button under your domain, or Details and then the edit icon under DNS RECORDS. Add each record there, one at a time.

What goes in the Host field at Porkbun?

Leave it empty for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example key1._domainkey. Porkbun adds your domain automatically.

Do I need to delete my existing MX records at Porkbun?

Yes. Sending servers pick an MX record by its priority (lowest number first) and fall back to the others, so a leftover MX record can receive some or all of your mail. Keep only the Migadu MX records and delete the rest.

Where do I get my Migadu DKIM record?

Migadu DKIM records are CNAME records whose value includes your domain, for example key1.yourdomain.com._domainkey.migadu.com. Copy the exact values for your domain from the table on this page.