Briefing

bunny.net CLI Adds Full DNS Management with Presets and Free Hosting

hosting
by Jamie Barton · Bunny.net

Add DNS zones and records via the bunny.net CLI, using `bunny dns zones add` and `bunny dns records add`, and link directories with `bunny dns zones link` for streamlined scripts.

What to do now

Integrate bunny.net CLI DNS commands into your deployment scripts, link your project directory to the zone with `bunny dns zones link`, and use the preset feature to automatically add email security records.

Summary

The bunny.net CLI, originally launched with database support and later Edge Scripting, now includes full DNS management, allowing users to create zones, add records, and script DNS changes directly from the terminal. With the new `bunny dns zones add` command, a zone is created and the CLI prints the required nameservers, which can then be set at the registrar; `bunny dns zones ns` verifies propagation. Record creation is streamlined through interactive presets that automatically add common email provider records—Google Workspace, Microsoft 365, Zoho, Mailgun, Resend, Proton Mail—and security records such as DKIM, DMARC, and CAA, with confirmation prompts before any changes are applied. The CLI also supports linking a project directory to a zone via `bunny dns zones link`, creating a .bunny/dns.json manifest that lets subsequent DNS commands infer the zone without specifying it each time. Additionally, bunny.net has removed per‑query pricing and now offers free DNS hosting for up to 500 domains per account, making automated DNS a cost‑free part of CI/CD workflows.

These enhancements position the bunny.net CLI as a single, scriptable interface for both CDN and DNS operations, enabling developers to automate zone creation, record management, and edge‑script routing in a consistent workflow. The new features also reduce manual errors in email authentication and simplify DNS configuration for new domains, while the free hosting tier removes cost barriers for large deployments.

Key changes

  • `bunny dns zones add` creates a zone and outputs the required nameservers
  • `bunny dns zones ns` verifies nameserver propagation
  • `bunny dns records add` supports interactive presets for Google Workspace, Microsoft 365, Zoho, Mailgun, Resend, Proton Mail, and security records (DKIM, DMARC, CAA)
  • `bunny dns zones link` writes a .bunny/dns.json manifest to infer the zone in subsequent commands
  • Free DNS hosting for up to 500 domains with no per‑query charges
  • CLI now manages both DNS records and edge script responses
  • Presets include MX, SPF, DKIM, DMARC, and CAA records
  • The CLI supports full scripting, enabling CI pipelines to automate DNS operations

Affects

internal wp-customers e-com-customers

Customer impact

Analyzing matches…

Ask about this story

Impact on an agency? Which customers? Compare historically Risks of waiting