Certbot DNS Authenticator for PowerDNS
PowerDNS DNS Authenticator plugin for Certbot. This plugin uses the PowerDNS HTTP API to request modifications for the DNS-01 challenge.
A design goal of this plugin is to use the minimal amount of custom code to achieve integration with PowerDNS. As such it uses the existing Lexicon-based DNS framework in Certbot.
Installation
-
Install the plugin from PyPI
pip install certbot-dns-pdns
Alternatively you can also install both certbot and the plugin using
pipx:pipx install certbot certbot-dns-pdns
-
Verify that the plugin is installed:
$ certbot plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * dns-pdns Description: Obtain certificates using a DNS TXT record (if you are using PowerDNS for DNS). Interfaces: Authenticator, Plugin Entry point: EntryPoint(name='dns-pdns', value='certbot_dns_pdns.dns_pdns:Authenticator', group='certbot.plugins') [...]
Usage
Create a credentials file to use with this plugin:
~/pdns-credentials.ini
dns_pdns_endpoint = https://pdns-api.example.com
dns_pdns_api_key = <Your API Key>
dns_pdns_server_id = localhost # see https://doc.powerdns.com/authoritative/http-api/server.html
dns_pdns_disable_notify = false # Disable notification of secondaries after record changes
The available configuration options correspond to the DNS-Lexicon settings for the PowerDNS provider.
Run Certbot using the plugin as the authenticator:
certbot certonly \
--authenticator dns-pdns \
--dns-pdns-credentials ~/pdns-credentials.ini \
...
Contributing
Pull requests are welcome. GitHub automatically runs pre-commit on any pull
requests, so you may want to enable pre-commit on your end, so your PR doesn't
fail these checks.
This repository uses Conventional Commits commit messages. Check the git log for examples on how to use them.
License
Apache License 2.0
Maintainer
- Felix Kaechele felix@kaechele.ca
Metadata
Release files for certbot-dns-pdns 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| certbot_dns_pdns-0.1.1.tar.gz | 6.9 kB | Without provenance | Details for certbot_dns_pdns-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| certbot_dns_pdns-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for certbot_dns_pdns-0.1.1-py3-none-any.whl |
Total release size: 14.9 kB
Release files / certbot_dns_pdns-0.1.1.tar.gz
| Download URL | certbot_dns_pdns-0.1.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d059d1c1cc21eab259a24ee69c1d9d8fb077fd90f58cf8de904b0f5bd576986f
|
|
BLAKE2b-256 checksum How to use checksums |
1f2afbfd103249b03e842e3886d95725b6860013c6a0d052e6d8013bd4446964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / certbot_dns_pdns-0.1.1-py3-none-any.whl
| Download URL | certbot_dns_pdns-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e0bf82245323d33ca1c889c9facc24349c5f3ffc951136fe8bf88e1c82060fe
|
|
BLAKE2b-256 checksum How to use checksums |
01aaf777db00f1a36a6dd2a91a9a94e4d0af25fd2efeefbc059e14be20577fe4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for certbot-dns-pdns 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.