Opened 4 years ago

Closed 3 years ago

#14019 closed defect (fixed)

LUCI DDNS scripts (luci-app-ddns) are missing "update_url" option

Reported by: valent.turkovic@… Owned by:
Priority: normal Milestone: Barrier Breaker 14.07
Component: luci Version: Trunk
Keywords: Cc:


I have used ddns provide manually (without LUCI) before without any issues, but when I started using LUCI now it stopped working.

It looks like luci doesn't support "update_url" option so it removes from configuration and that breaks DDNS scripts.

When I save config in luci and try to manually start it here is what I get as an output:

/usr/lib/ddns/ mydns

Here is how config file looks like when created with LUCI:

config service 'myddns'
        option interface 'wan'
        option force_interval '12'
        option force_unit 'hours'
        option check_interval '10'
        option check_unit 'minutes'
        option enabled '1'
        option service_name ''
        option username 'XXX'
        option password 'XXX'
        option ip_source 'web'
        option ip_url ''
        option domain ''

There is no "update_url" defined, so this looked easy to fix, it just needs to have additional

option update_url 'http://[USERNAME]:[PASSWORD][DOMAIN]&myip=[IP]'

Attachments (0)

Change History (9)

comment:1 Changed 4 years ago by valent.turkovic@…

Update, this is not a LUCI issue, but it looks like DDNS scripts are broken somehow...

I see that is listed under /usr/lib/ddns/services but other scripts somehow ignore this info!

I tried using manual update via wget and that works ok, for example:

wget -s

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by anonymous

I don't know if it is relevant at this point, but I just altered the script by commenting out the line:


and then changing it to

#hardcoding the answer here

Seems to work decently as a workaround.

comment:4 Changed 3 years ago by chris5560

This did not fix the problem.
If you hard code the service you have no chance to run multiple services. You might need one for your Mail and one for your ftp .....
Take the current packages from BB14.07 or trunk

comment:5 Changed 3 years ago by anonymous

curl package is missing just install it: opkg install curl
it will works after

comment:6 Changed 3 years ago by chris5560

Hi anonym,
wget is working as wirtten above.
So, why curl package is missing. What should be the benefit ?

@ valent.turkovic
is your problem fixed, so the ticket could be closed ?
Otherwise please give me OpenWrt build and ddns-scripts version so I can have a look on it.


comment:7 Changed 3 years ago by chris5560

Could someone please close the ticket.
It looks outdated and ddns-scripts were moved to github.
Can't do it for you because because I have no rights to modify ticket.

comment:8 Changed 3 years ago by valentt

Hmm, no, I can't change it. I only have option "leave as new" :(

comment:9 Changed 3 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.