Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.bunny.net/llms.txt

Use this file to discover all available pages before exploring further.

The bunny.net cPanel plugin uses a configuration file located at /etc/bunnynet.conf. This file is created automatically during setup, but you can edit it to customize the plugin behavior.

Configuration file

/etc/bunnynet.conf
After making changes to the configuration file, restart the daemon:
systemctl restart bunnynet-cpanel-daemon

Required settings

KeyDescription
BUNNYNET_API_KEYYour bunny.net account API key. Available in dash.bunny.net.
WHM_API_KEYThe WHM API token. Automatically generated during setup. Managed in WHM > Development > Manage API Tokens.

Optional settings

KeyDescriptionDefault
NS1Primary nameserverkiki.bunny.net
NS2Secondary nameservercoco.bunny.net
SOA_EMAILSOA email addresshostmaster@bunny.net
DOH_RESOLVERDNS over HTTPS resolverhttps://dns.quad9.net
LOG_LEVELLog level (debug, info, warn, error)warn
URL_PURGE_WORKERSNumber of workers for URL cache purging2

DNS cluster settings

The DNS cluster configuration is available in WHM > Clusters > DNS Cluster. In addition to the API key and DNS role, you can enable:
  • Sync all DNS zones — Automatically synchronize all existing DNS zones to the cluster. Enable this if you want all current zones to be pushed to bunny.net DNS when setting up the cluster.
DNS Cluster configuration

Hosting packages

You can configure bunny.net features per hosting package in WHM > Packages > Edit a Package. The following options are available under the bunny.net section:
  • Max bunny.net websites — Limit the number of websites that can use bunny.net per account
  • Bunny Optimizer — Enable or disable image optimization for the package
  • Bunny Shield — Enable or disable DDoS protection and WAF for the package
Make sure to set Max bunny.net websites to at least 1. Setting it to 0 will prevent customers on that package from enabling bunny.net for any of their websites.
Hosting package configuration

Hiding the plugin for certain packages

If you want to hide the bunny.net plugin from customers on specific packages, you can use WHM’s Feature Manager to create a feature list that excludes it.
1

Create a feature list

In WHM, go to Packages > Feature Manager. Create a new feature list or edit an existing one.
2

Disable the bunny.net feature

In the feature list, uncheck bunny.net to hide the plugin from cPanel for customers using this feature list.
3

Assign the feature list to a package

Go to Packages > Edit a Package, select the package you want to restrict, and set the Feature List to the one you created.
Customers on packages with this feature list will no longer see the bunny.net plugin in their cPanel.