Utilisation de DDNS NOIP

Commande pour changer l’IP :

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

La réponse doit être good

good 81.26.183.29

Vérifier la mise à jour de l’IP après une minute :

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

Pendant cette minute (TTL=60s), dig peut toujours afficher l’ancienne adresse.