Opened 7 years ago

Closed 3 years ago

#8875 closed defect (moved_to_github)

ddns-scrips are not being triggered

Reported by: jjross@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:


Please see the thread here:

Basically, recent builds of the ddns scripts (from trunk) don't seem to be working.

I currently have the following version installed:

ddns-scripts - 1.0.0-12
luci-app-ddns - 0.10+svn6841-1

I can see that the script is running when I do a "ps" but they don't seem to actually execute. When I manually execute them, nothing is output to the console, nor is anything in the logs.

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by ben@…

Under Backfire rc4 r25206, I was able to get ddns-scripts working for DynDNS by changing the following line in /etc/config/ddns:

option 'service_name' ''

to this:

option 'service_name' 'dyndns'

I'm guessing it is luci-app-ddns which is generating the wrong config value for

My relevant pkg versions:

ddns-scripts - 1.0.0-12
luci-app-ddns - 0.10+svn7109-1

comment:2 Changed 6 years ago by F1aw <admin@…>

The proposed workaround by @Ben did not work for me with Backfire r27837.
I have got it to work by commenting out 3 lines in /usr/lib/ddns/


local event_interface="$1"



config_load "ddns"

for section in $SECTIONS

# local iface
# config_get iface "$section" interface "wan"

# [ "$iface" = "$event_interface" ]

/usr/lib/ddns/ $section 0 > /dev/null 2>&1 &



Instead of "wan" I have also tried putting the actual name of my Wireless interface "Wifi". That did not work either.

comment:3 Changed 6 years ago by F1aw <admin@…>

The reason start_daemon_for_all_ddns_sections did not work before, is because it requires an interface name as a parameter. Now when I use the following to start the ddns updater:

. /usr/lib/ddns/
start_daemon_for_all_ddns_sections "wan"

Everything work fine without modifying the /usr/lib/ddns/ file.

comment:4 Changed 5 years ago by rbeede

I'm having this problem with OpenWrt Attitude Adjustment 12.09 / LuCI 0.11.1 Release (0.11.1)

Calling /usr/lib/ddns/ myddns from the command-line works, but it isn't running if I reboot.

The work around is to add it to rc.local.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

comment:6 Changed 3 years ago by jogo

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

ddns-scripts has been moved to If the issue still persists, please open a ticket there.

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.