Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2356 closed defect (fixed)

updatedd does not determine whether update required

Reported by: adam@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: updatedd Cc:

Description

The init script diff attached includes a check to see if the resolved host needs to be updated to prevent abusive updates (dyndns). Also makes syslog debug messages.

Attachments (2)

updatedd.init.diff (1.8 KB) - added by adam@… 10 years ago.
updatedd init with IP checking
updatedd (1.1 KB) - added by pedrofaustino 10 years ago.
changed your modified updatedd script in order to take into account recommendations found at http://wiki.openwrt.org/DDNSHowTo

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by adam@…

updatedd init with IP checking

comment:1 Changed 10 years ago by alenvers

An alternative method for checking the local ip (This one work too if the openwrt box does not receive the public ip) :

current=$(wget --quiet -O - http://checkip.dyndns.org|sed 's/[^0-9.]//g')

but this method add a depedency on :

  • wget
  • checkip.dyndns.org service

Changed 10 years ago by pedrofaustino

changed your modified updatedd script in order to take into account recommendations found at http://wiki.openwrt.org/DDNSHowTo

comment:2 Changed 10 years ago by thepeople

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

fixed r11834

comment:3 Changed 10 years ago by anonymous

Why not just use ddns-scripts package instead of all the other dynamic DNS clients?

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.