This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # on OpenRC systems, place into e.g. /etc/periodic/15min | |
| # (or create /etc/periodic/1min and add line to root's crontab) | |
| # on systemd systems, install it as a timer | |
| # create/find these in Hetzner's DNS admin interface at https://dns.hetzner.com/ | |
| API_TOKEN_NAME="..." | |
| API_TOKEN="..." | |
| ZONES=["...", "..."] # TLD; must be registered at https://robot.hetzner.com/domain |