One free user (subdomain) https://www.inwx.de/de/offer/dyndns
schema: https://<username>:<password>@dyndns.inwx.com/nic/update?myip=<ip4addr>
schema with ipv6: https://<username>:<password>@dyndns.inwx.com/nic/update?myip=<ip4addr>&myipv6=<ip6addr>
create user and password with subdomain https://www.inwx.de/de/nameserver2/dyndns
Plain:
https://dyndns.inwx.com/nic/update?myip=<ip4addr>
cURL:
curl -sf -u <username>:<password> "https://dyndns.inwx.com/nic/update?myip=<ip4addr>"
OpenBSD’s ftp:
ftp -o /dev/null "https://<username>:<password>@dyndns.inwx.com/nic/update?myip=<ip4addr>"
as user nobody
asdf
#!/bin/sh
username=""
password=""
domain="dyndns.example.com"
ipv4=$(dig +short @ident.me)
dyn_ip=$(dig +short ${domain})
[ $ipv4 = $dyn_ip ] && exit 0
ftp -o /dev/null "https://${username}:${password}@dyndns.inwx.com/nic/update?myip=${ipv4}" && \
logger "IP adress of DNS A Record from ${domain} updated to ${ipv4}"
asdf