Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.03 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.03 KB

Bunny.net module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with Bunny.net accounts.

Caddy module name

dns.providers.bunny

Config examples

To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:

{
	"module": "acme",
	"challenges": {
		"dns": {
			"provider": {
				"name": "bunny",
				"access_key": "{env.BUNNY_API_KEY}",
			}
		}
	}
}

or with the Caddyfile:

tls {
	acme_dns bunny {env.BUNNY_API_KEY}
}

You can replace {env.BUNNY_API_KEY} with the actual auth token if you prefer to put it directly in your config instead of an environment variable.

Authenticating

To authenticate you need to supply a Bunny.net API Key.

Debugging

When global debug mode is enabled, this module logs additional information.