openwrt / openwrt/packages

ddns-scripts fail to update if nslookup fails

Open
#22,829 7 comments 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: It is not in Makefile?
Environment: OpenWRT Master

Description:
I use ddns-scripts - 2.8.2-40

I realized that if for any reason the DNS entry does not resolve. It goes into loop retrying to resolve with message:

 Get registered/public IP for 'blah.dy.fi' failed

This cause problems if the entry was deleted for any reason. It can never be updated anymore.

The correct operation should be using Forced Update to try to update the missing DNS entry. Because non-existing DNS entry is not equal to what it should point to.

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 with the ddns-scripts package and reproduce the failure when nslookup cannot resolve the DNS entry. Trace the retry behavior and verify that a missing DNS entry can still be updated through Forced Update rather than remaining in the retry loop.

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
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.