Skip to content

mwt/certbot-dns-bunny

Repository files navigation

Bunny.net DNS Authenticator Plugin for Certbot

License Badge PyPI Version Badge Supported Python Versions Badge Documentation Badge Snap Store Badge

This plugin enables DNS verification with certbot when using Bunny.net DNS. Full documentation is on Read the Docs.

Installation

This package can be installed with pip

pip install certbot-dns-bunny

and can be upgraded using the --upgrade flag

pip install --upgrade certbot-dns-bunny

If you installed certbot as a snap, then you have to install this plugin as a snap as well.

snap install certbot-dns-bunny
snap connect certbot:plugin certbot-dns-bunny

Credentials

# Bunny API token used by Certbot
dns_bunny_api_key = a65e8ebd-45ab-44d2-a542-40d4d009e3bf

Examples

certbot certonly \
  --authenticator dns-bunny \
  --dns-bunny-credentials ~/.secrets/certbot/bunny.ini \
  -d example.com
certbot certonly \
  --authenticator dns-bunny \
  --dns-bunny-credentials ~/.secrets/certbot/bunny.ini \
  -d example.com \
  -d www.example.com
certbot certonly \
  --authenticator dns-bunny \
  --dns-bunny-credentials ~/.secrets/certbot/bunny.ini \
  --dns-bunny-propagation-seconds 60 \
  -d example.com