Opens in a new tab

How to add DNS records at Porkbun

At Porkbun, records are under Account → Domain Management → DNS. Leave the host blank for the domain itself — Porkbun’s rule is never to include the domain — and delete the default parking records before adding your own at the root or www.

Host fieldBlank for the root; never the domain
New domainsParking records to remove first
Alias at the rootALIAS (CNAME flattening, A/AAAA)
TTLAccount minimum, typically 600 seconds
Nameserversfour names under ns.porkbun.com

Where the DNS records are

Sign in, open Account → Domain Management, and select DNS under the domain. These records only apply while the domain uses Porkbun’s nameservers.

What to type in the name field

For the domain itself, leave the Host blank; for anything else, enter only the part before the domain. Porkbun’s rule is to leave the domain name itself out. A CNAME’s host cannot be blank.

You were given a record forType in the name field
The domain itself — SPF, verification codes, MX(leave blank)
DMARC_dmarc
A DKIM key (selector s1, for example)s1._domainkey
A subdomain such as www or mailwww

Adding a record

  1. Open Account → Domain Management and select DNS under the domain.
  2. If Porkbun’s default parking records point the root or www at pixie.porkbun.com, delete them first.
  3. Choose the type and enter the Host as in the table above.
  4. Paste the answer (value) and keep the default TTL.
  5. Select Add. If an edit will not save, delete the record and add it again.

Check the record you just added

Enter the full name — _dmarc.yourdomain.com, s1._domainkey.yourdomain.com — and the type. If it answers, it is published; if it is not there yet, try again after a few minutes.

TXT records and long DKIM keys

Porkbun’s help says to paste the value you were given in full; it does not document how values over 255 characters are split. Check a long DKIM key with the lookup above after adding it.

Pointing the root domain at a service

An ALIAS record with a blank host points the root at a host name — Porkbun calls it CNAME flattening, and it passes through only the target’s A and AAAA records.

DNSSEC

With Porkbun’s nameservers, switch Porkbun DNSSEC on under the domain’s Details. With another DNS host, enter that host’s DS record under Registry DNSSEC.

Common mistakes

  • The default parking records: “A CNAME or ALIAS record with that host already exists” until you delete them.
  • Adding NS records in the DNS editor to change nameservers — that is done under the domain’s nameserver settings instead.
  • Parking or resetting the domain removes the records on the root, www and *.

Setting up email? The exact records for each service are in our email setup guides; to watch a change reach resolvers worldwide, use the propagation checker.

Questions

How long do Porkbun DNS changes take?

Porkbun’s own nameservers serve a new record within a minute or two; resolvers that cached an older answer keep it until its TTL runs out.

Sources

Checked against Porkbun’s own documentation on 25 September 2026:

Know the record is right, and stays right

Add your domain and we check its DNS on a schedule, tell you when a record changes, and watch a new record reach resolvers worldwide. Free for your first domain.

Create a free account