Adding DMARC, SPF, and DKIM records in Bunny DNS
Bunny DNS is the DNS service inside the bunny.net dashboard. Here is the path to a zone's records, the Hostname rule for the root domain, and the nameserver check to do first.
Before you start: check your nameservers
Records you add in Bunny DNS only count if your domain uses Bunny's nameservers. Bunny DNS has two: kiki.bunny.net and coco.bunny.net. Check yours:
dig +short NS yourdomain.com
If the answer is kiki.bunny.net and coco.bunny.net, follow the steps below. If your nameservers point to another provider, edit your records there instead.
Step 1: Open the DNS zone
- Sign in to the bunny.net dashboard at dash.bunny.net and open DNS.
- Pick the zone for your domain.
- Select Add Record.
Step 2: Add the TXT record
The record form has a Hostname, a Type, a TTL, and a Value. Set Type to TXT. For the root domain, leave Hostname empty; Bunny's docs say exactly that. For anything else, enter only the prefix, such as _dmarc. The form also has Advanced Settings (weight, monitoring, enabled). Leave those as they are for a TXT record.
DMARC
Type: TXT Hostname: _dmarc Value: v=DMARC1; p=none; rua=mailto:you@yourdomain.com
Start at p=none, then move past p=none once your reports are clean.
SPF
Type: TXT Hostname: (leave empty) Value: v=spf1 include:_spf.yourprovider.com ~all
Keep a single v=spf1 record. If the zone already has one at the root, edit it to add your sender instead of adding a second record.
DKIM
Type: TXT Hostname: selector._domainkey Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG... (your full public key)
Paste the whole key as one value. Bunny's docs do not state a length limit for TXT values, so check the lookup in Step 3 returns the full key.
MTA-STS pointer
Type: TXT Hostname: _mta-sts Value: v=STSv1; id=20261126000000
Pointer only. The policy file is served over HTTPS at mta-sts.yourdomain.com; you publish that file yourself, and the MTA-STS tab in trustyourinbox shows the exact file. TLS-RPT (_smtp._tls) is the same shape.
Bunny DNS quirks that bite
- An empty Hostname means the root. In the dashboard you leave the field blank for the root domain. Bunny's command-line tool writes the root as
@instead, so do not copy that habit into the dashboard form. - Prefix only. Enter
_dmarc, not_dmarc.yourdomain.com, since the zone already supplies the domain. - Short TTL while you test. The TTL quick picks run from 15 minutes to one day. A short TTL makes a correction show up sooner.
Step 3: Verify it published
dig +short TXT _dmarc.yourdomain.com dig +short TXT yourdomain.com | grep spf1 dig +short TXT selector._domainkey.yourdomain.com
Or paste the hostname into dns.google with type TXT. The record is live the moment the lookup returns it.
trustyourinbox picks it up by itself
If you copied the record from a trustyourinbox page, leave that page open. It watches public DNS and updates itself once the record is live. Otherwise, each protocol tab (DMARC, SPF, DKIM, MTA-STS) has a Scan now button.
Fix DNS issues with one click. See the exact change before it goes live.
Click the fix. We email you the exact record, wait five minutes, write it to Cloudflare or AWS Route 53, and read it back from public DNS. On any other DNS host, you get the record and a link to the right page. Included on every plan.
Was this page helpful?
Keep reading.
- Run a free DMARC auditPaste your domain and read your published SPF, DKIM, and DMARC back in plain English.
- How we change DNS safelyThe safety layers behind an automated fix, and why a hand edit deserves the same care.
- DMARC record builderAnswer a few questions and get the exact _dmarc value to paste in.
- Editing DNS at any providerNot actually on Bunny DNS? The universal walkthrough finds your real DNS host.