Using DDNS NOIP

IP Change Command:

curl -s -u 'login:pass' https://dynupdate.no-ip.com/nic/update?hostname=ya.ddns.net&myip='$(curl -s http://checkip.dyndns.com/ | grep -oE '[0-9.]+' | head -1)'

The response should be good

good 81.26.183.29

Check IP change after one minute:

dig +short ya.ddns.net @nf1.no-ip.com
81.26.183.29

Within this minute (TTL=60s), dig may still show the old address.