Domain host

How to add MX, TXT and CNAME records in Porkbun

Low-cost registrar with a simple one-form DNS editor.

Find the DNS editor

  1. Open Domain Management (ACCOUNT, then Domain Management).
  2. Click the DNS button under your domain, or Details and then the edit icon under DNS RECORDS.

What goes in each field

Record Host field Value field
MX Host Answer + Priority
TXT Host Answer
CNAME Host Answer
  • For your bare domain, leave Host empty.
  • For other names, type only the part before your domain (for example _dmarc). Porkbun adds your domain automatically.

Adding a record at Porkbun

MX record

  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.

TXT record

  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.

CNAME record

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

Porkbun gotchas

Porkbun DNS: questions

How do I add an MX record 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. Choose MX as the Type. Leave Host blank, enter the mail server in Answer and the Priority your provider gives you. Leave TTL at its default. Click Add.

How do I add a TXT record 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. Choose TXT as the Type. Leave Host blank for your bare domain (or enter the subdomain name), and paste the value in Answer. Click Add.

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 _dmarc. Porkbun adds your domain automatically.