Certbot DNS Plugin for Hostinger
This plugin automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records using the Hostinger API.
Installation
pip install certbot-dns-hostinger
Usage
certbot certonly \
--dns-hostinger \
--dns-hostinger-credentials /path/to/credentials.ini \
-d example.com
Named Arguments
--dns-hostinger-credentials PATH
- Hostinger credentials INI file. (Required)
Credentials
Create a credentials file:
# /path/to/credentials.ini
dns_hostinger_api_token = <your-api-token>
The file should be readable by the Certbot process and secure (chmod 600).
API Token
To obtain an API token:
- Log in to your Hostinger account
- Go to https://hpanel.hostinger.com/domains
- Navigate to API section
- Generate a new API token with DNS management permissions
Examples
Obtain a single certificate for all subdomains of a domain:
certbot certonly \
--dns-hostinger \
--dns-hostinger-credentials ~/.secrets/certbot/hostinger.ini \
-d example.com \
-d *.example.com
Use a custom propagation delay:
certbot certonly \
--dns-hostinger \
--dns-hostinger-credentials ~/.secrets/certbot/hostinger.ini \
--dns-hostinger-propagation-seconds 120 \
-d example.com
Troubleshooting
If you encounter any issues, check:
- API token is correct and has proper permissions
- Domain is managed by Hostinger
- Credentials file is readable and secure
- Network connectivity to Hostinger API
For more information, see the Certbot documentation.
Metadata
Release files for certbot-dns-hostinger 0.1.3
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_hostinger-0.1.3.tar.gz | 77.4 kB | With provenance | Details for certbot_dns_hostinger-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| certbot_dns_hostinger-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for certbot_dns_hostinger-0.1.3-py3-none-any.whl |
Total release size: 87.9 kB
Release files / certbot_dns_hostinger-0.1.3.tar.gz
| Download URL | certbot_dns_hostinger-0.1.3.tar.gz |
|---|---|
| Size | 77.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
489b07325de00d76d8ae721ba47a8d9468537c033173015cd1e5c39629eda2fb
|
|
BLAKE2b-256 checksum How to use checksums |
b7d5ba6e804d96af054f9303ee622b1c4badb472a71bde76a9917e59ad4d2173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2025.
Transparency logRelease files / certbot_dns_hostinger-0.1.3-py3-none-any.whl
| Download URL | certbot_dns_hostinger-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71e7c78dfa26bde29912855bb00910d3a0bc6037f456aa312e6f22da7b4a3e99
|
|
BLAKE2b-256 checksum How to use checksums |
5fa5505a6ea0c3def2bd3d2929b704db2cbb50a73c13be0992099657cfaedc3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2025.
Transparency logSecurity for certbot-dns-hostinger 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for certbot_dns_hostinger-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2025.
Transparency logA 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.