Bonjour,
Je voudrais pouvoir mettre à jour mes DynDNS configurés dans OVH depuis ma machine linux.
J'ai trouvé un exemple de configuration qui devraient fonctionner avec OVH (https://lucasvidelaine.wordpress.com/2020/11/15/dyndns-ovh/), mais cela ne fonctionne pas pour moi et je ne reçois aucun output utile de la part de ddclient:
jul 07 12:42:16 valpha-n200 systemd[1]: Starting Update dynamic domain name service entries…
jul 07 12:42:16 valpha-n200 systemd[1]: Started Update dynamic domain name service entries.
Vu le manque d'information, j'ai tenté de faire via un appel de l'URL renseignée dans la doc OVH ici https://help.ovhcloud.com/csm/fr-dns-dynhost?id=kb_article_view&sysparm_article=KB0051644
`curl -i -u xxx.ovh-n200:MON-PASSWORD --request POST "https://www.ovh.com/nic/update?system=dyndns2&hostname=multimedia.xxx.ovh&myip=MON-IP"`
Ce qui me retourne ceci:
HTTP/2 401
date: Fri, 07 Jul 2023 11:04:31 GMT
content-type: text/html; charset=iso-8859-1
www-authenticate: Basic realm="Authenticated Users Only"
x-iplb-request-id: 0A6EB3F8:4BD7_8D5FBAC8:01BB_64A7F13F_98DBA52:35374
x-iplb-request-id: 33440FF4:C84C_C063418B:01BB_64A7F13F_6BB3:15C3E
x-iplb-instance: 49224
cache-control: no-cache
vary: Accept-Encoding
x-cdn-pop: rbx
x-cdn-pop-ip: 51.68.15.224/27
x-request-id: 156533072
x-cacheable: Not cacheable: wrong request type
401 Unauthorized
Unauthorized
This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.
Apache Server at www.ovh.com Port 443
Est-ce que quelqu'un à un lien vers la documentation de cette API ovh pour l'update; ou bien une configuration fonctionnelle via ddclient ?
Merci d'avance.