MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 499 forks source link

YDNS doesn't work by default #7260

Closed NatureHog closed 3 weeks ago

NatureHog commented 3 weeks ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. Use the built-in DietPi-DDNS script with Provider set to YDNS
  2. Error, even when server replies "good"
  3. Change Provider to custom, using ydns.io as address
  4. Works flawlessly

Expected behaviour

Actual behaviour

Extra details

MichaIng commented 3 weeks ago

Many thanks for your report. The result is "good" now? It was "ok" in the past. Do you also see "nochg" when running the test/request a second time, as indicator that the update was successful but your IP address did not change? Then they might have updated their API to match the one of Dynu.

EDIT: The API docs also state "good" now: https://ydns.io/api/v1/ As it is called the legacy API, I wonder what the new one is, at least no docs 🤔: https://ydns.io/api/

NatureHog commented 3 weeks ago

Yes, it'd show "nochg", just like you said. Glad I could help.

NatureHog commented 3 weeks ago

Just submitted #7262 which should solve this, but haven't got the time to test it, yet.

MichaIng commented 3 weeks ago

Fix merged for next release. Many thanks 🙂 !