pip install git+https://github.com/felixhummel/poor-mans-dyndns.git@main
First, get a Hetzner DNS API access token.
export HETZNER_DNS_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
pmdd zones
pmdd set a-record --zone-id xxxxxxxxxxxxxxxxxxxxxx --name home
Using environment variables:
export PMDD_ZONE_ID=xxxxxxxxxxxxxxxxxxxxxx
export PMDD_NAME=home
pmdd set a-record
Overriding the URL to get ip v4:
export PMDD_IP_URL=https://ip.hetzner.com
PMDD_ZONE_ID=xxxxxxxxxxxxxxxxxxxxxx PMDD_NAME=home pmdd update
export HETZNER_DNS_TOKEN=$(pass felix/hetzner/dns-token)
export PMDD_ZONE_ID=$(pass hacks/pmdd/test/zone-id)
export PMDD_NAME=$(pass hacks/pmdd/test/name)
make