A Python plugin for Certbot to perform DNS-01 challenges using the PowerDNS-Admin API.
You can install the package from PyPI using pip:
pip install certbot-dns-pdnsadmin
Usage
To use this plugin with Certbot, you need to configure it as a DNS plugin for DNS-01 challenges. Here’s an example of how to run Certbot with this plugin:
certbot certonly --dns-pdnsadmin --dns-pdnsadmin-credentials /path/to/credentials.ini -d example.com
Make sure to replace /path/to/credentials.ini
with the actual path to your credentials file and example.com with the domain for which you are obtaining a certificate.
Configuration
The plugin requires a credentials file to authenticate with the PowerDNS-Admin API. Here is an example of the required configuration in the credentials.ini file:
dns_pdnsadmin_api_url = https://your-pdnsadmin-url/api/
dns_pdnsadmin_api_key = your_api_key
Requirements
- Certbot
- PowerDNS-Admin