Modify

Opened 4 years ago

Last modified 4 years ago

#14160 new defect

ddns update script fails, twice

Reported by: Cor Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: ddns update Cc:

Description

There are at least two situations under which the ddns update script (/usr/lib/dynamic_dns_updater.sh) will fail, forcing the system to attempt an update every X (check_interval) minutes (until your account is deactivated!).

  1. no-ip.com/noip.com: multiple domain names must be specified by separating them with a comma, but this has not been taken into account in the updater script and will cause the nslookup to fail (i.e. nslookup host1.com,host2.com).

The fix is straightforward. In the script, rather than use:

nslookup "$domain"

use something like..

nslookup "${domain##*,}"

  1. freedns: as the host name is not specified at all in a (correct) freedns setup, the nslookup will obviously again fail. This is easily fixed by simply specifying the host name in the config, even though it is not used for the actual update.

I will add a note in the Wiki about the latter issue. The Luci ddns page could probably also do more to help users with this.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.