openwrt / openwrt/packages

ddns-scripts: Allow specifying port to use with bind-nsupdate

Open
#17,652 3 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: @feckert
Environment: arm, wrt3200acm, 19.07.6 (ROOTer)

Description:
I have an internal DNS server on which I would like to be able to update an A address from a remote OpenWRT router.
This DNS server can be updated through a port different from 53, however the bind-nsupdate service has no provision for specifying which port to use.
I would like to have update_nsupdate.sh and dynamic_dns_functions.sh modified to allow using a port different from 53.

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 reading update_nsupdate.sh and dynamic_dns_functions.sh to trace how the bind-nsupdate server address is assembled and passed to the update command. Confirm how the existing configuration supplies the server, then make the port configurable without changing the default behavior. Done means updates can target a DNS server on a port other than 53.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
networking
Issue type
Feature
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.