Skip to main content

hetzner_set_dns_txt_record

python script that can be used to change hetzner DNS TXT entries (intended to be used with a manual auth hook in certbot)

Installation

pip3 install hetzner_set_dns_txt_record

Standalone Usage

Set record to a value:

hetzner_set_dns_txt.py --record=<which TXT record to set, e.g. _acme-challenge> --value=<your-value> --user=<your-hetzner-user> --password=<your-hetzner-password> --domain="<the complete domain you want to set the TXT record for>" --basedomain=<the top level base domain> --verbose

Delete TXT record

hetzner_set_dns_txt.py --record=<which TXT record to delete, e.g. _acme-challenge> --delete --user=<your-hetzner-user> --password=<your-hetzner-password> --domain="<the complete domain you want to set the TXT record for>" --basedomain=<the top level base domain> --verbose

Acknowledgements

The method to manipulate the DNS entries in the Hetzner robot is from hetzner-letsencrypt-wildcard-auto-renew and was improved upon to fit into a more general DNS TXT utility for Hetzner.

Release files for hetzner-set-dns-txt-record 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hetzner-set-dns-txt-record 0.2.2
File Interpreter ABI Platform
hetzner_set_dns_txt_record-0.2.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / hetzner_set_dns_txt_record-0.2.2-py2.py3-none-any.whl

Download URL hetzner_set_dns_txt_record-0.2.2-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6414226c4683a70869bed6fd03dafd3a5a3361797aecd4377ada1d3a506a285b
BLAKE2b-256 checksum
How to use checksums
eecc3e8c0a1fee24b4357f74fd2d7b8956749564996d3854daca23b6b22a44b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page