Simple script to update DNS entries on Hetzner DNS service. At the moment it only works for A records.
The following public APIs are used to request the current public IP.
Name | Description |
---|---|
HDNS_TOKEN | Hetzner DNS API Key (https://docs.hetzner.com/dns-console/dns/general/api-access-token/) |
SLEEP_TIMER | How long to sleep between runs in seconds |
The script uses a config.json file in the following format. The file should be mounted to /app/config.json.
{
"zones": {
"example.com": {
"records": [
"@",
"www",
"test"
]
}
}
}