openwrt / openwrt/packages

ddns-scripts [nsupdate]: impossible to configure nsupdate with ipv6 without (a single) forced update

Open
#17,641 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: feckert
Environment: 21.02.1

Description:

It is impossible to configure ddns-scripts-nsupdate for IPv6 protocol so that no forced updates happen and the ip address is till checked at intervals. Also, a client can not be configured so that it is ran once without a forced update. This is because run-once is always enabled if and only if forced_interval=0. If forced_interval!=0, there will always be forced updates at the specified unit intervals. There is actually no way to disable forced updates! See: https://openwrt.org/docs/guide-user/services/ddns/client .

This is in conflict of nsupdate terms. They are very adamant on not updating the IP address if it has not been changed; from nsupdate.info documentation:

Note: please do not “update” your IP address if it did not change. Doing so is considered abusive use of the service. All sane dyndns2 clients only send an update if the IP address has changed.

Running the forced update when IP has not changed can cause an abuse flag to be enabled for the client.

Though, I'm not sure whether this will be an issue if the client sets a forced update, say, every 31th day. For cleanness sake, there should probably be a separate setting for run-once and no forced updates, although this workaround exists. There is no workaround for users who might want or need a run-once non-forced update.

EDIT2: Clarified my wording, it was not quite what the problem is.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the ddns-scripts-nsupdate configuration handling for forced_interval, run-once, and IPv6 checks, using the linked OpenWrt client documentation and nsupdate.info guidance as behavioral context. Done means IPv6 can be checked at intervals without forced updates, and a client can perform one non-forced run.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.