openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.03k stars 3.5k forks source link

ddns-scripts: Fix updating dynu addresses #25033

Open curuvar opened 1 month ago

curuvar commented 1 month ago

Apparently dynu.com has updated their API.

Instead of specifying an update with a fragment ...&hostname=my-host.my-domain.com&... the new API uses the fragment ...&hostname=my-domain.com&alias=my-host&...

curuvar commented 1 month ago

I modified my /usr/share/ddns/default/dynu.com.json to change:

...?hostname=[DOMAIN]&...

to

...?hostname=[DOMAIN]&alias=[PARAMOPT]&...

Then put the alias name in the PARAMOPT field when editing with luci.