The bunny.net cPanel plugin uses a configuration file located atDocumentation Index
Fetch the complete documentation index at: https://docs.bunny.net/llms.txt
Use this file to discover all available pages before exploring further.
/etc/bunnynet.conf. This file is created automatically during setup, but you can edit it to customize the plugin behavior.
Configuration file
Required settings
| Key | Description |
|---|---|
BUNNYNET_API_KEY | Your bunny.net account API key. Available in dash.bunny.net. |
WHM_API_KEY | The WHM API token. Automatically generated during setup. Managed in WHM > Development > Manage API Tokens. |
Optional settings
| Key | Description | Default |
|---|---|---|
NS1 | Primary nameserver | kiki.bunny.net |
NS2 | Secondary nameserver | coco.bunny.net |
SOA_EMAIL | SOA email address | hostmaster@bunny.net |
DOH_RESOLVER | DNS over HTTPS resolver | https://dns.quad9.net |
LOG_LEVEL | Log level (debug, info, warn, error) | warn |
URL_PURGE_WORKERS | Number of workers for URL cache purging | 2 |
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.

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

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.Create a feature list
In WHM, go to Packages > Feature Manager. Create a new feature list or edit an existing one.
Disable the bunny.net feature
In the feature list, uncheck bunny.net to hide the plugin from cPanel for customers using this feature list.