certbot-duckdns/duckdns
2020-10-29 16:38:49 +01:00

7 lines
206 B
Bash
Executable file

#!/usr/bin/env sh
set -x
logfile=/var/log/duckdns.log
baseurl='https://www.duckdns.org/update?domains=%s&token=%s&ip='
printf "url=$baseurl\n" "$DUCKDNS_DOMAIN" "$DUCKDNS_TOKEN" | curl -o "$logfile" -K -