IP=$(dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com | tr -d '"' )
IP=$(curl https://checkip.amazonaws.com/)
#https://www.noip.com/integrate/request
curl https://<username>:<password>@dynupdate.no-ip.com/nic/update?hostname=all.ddnskey.com&$IP
data/config.json
{
"settings": [
{
"provider": "noip",
"domain": "all.ddnskey.com",
"host": "@",
"username": "<username>",
"password": "<password>",
"ip_version": "ipv4",
"ipv6_suffix": "",
"provider_ip": true
}
]
}