Simple python + bash script combination that add and remove DNS entries to hetzner cloud when TrueNAS requests it from its GUI.
  • Python 87.7%
  • Shell 12.3%
Find a file
Lars de Smit abd753c0da
Subdomain support
The python script no longer only checks for the API key using environment variables, instead we now first check if the API key is passed as an argument.
For the domain name we now grab the second level domain using regex. (This does not support country-code top-level domains such as ".co.uk")
The name variable no longer cuts off only the challenge until the first period, instead the second level domain is removed from the challenge name string.
Improved logging
2026-04-05 16:21:12 +02:00
.gitignore Subdomain support 2026-04-05 16:21:12 +02:00
acme_hetzner_dns.py Subdomain support 2026-04-05 16:21:12 +02:00
acme_hetzner_dns.sh Subdomain support 2026-04-05 16:21:12 +02:00
LICENSE Initial commit 2026-04-01 22:45:22 +02:00