Simple dnyndns-client based on nsupdate
Go to file
Markus Pesch 65a62bb3ab
continuous-integration/drone/push Build is passing Details
Merge pull request 'chore(deps): update git.cryptic.systems/volker.raschek/drone-email docker tag to v0.1.5' (#57) from renovate/git.cryptic.systems-volker.raschek-drone-email-0.x into master
Reviewed-on: #57
2023-10-15 13:29:36 +00:00
pkg fix: add nosec flags 2022-03-11 11:14:38 +01:00
systemd
.dockerignore
.drone.yml Merge pull request 'chore(deps): update git.cryptic.systems/volker.raschek/drone-email docker tag to v0.1.5' (#57) from renovate/git.cryptic.systems-volker.raschek-drone-email-0.x into master 2023-10-15 13:29:36 +00:00
.editorconfig
.gitattributes
.gitignore
.golangci.yml
LICENSE
Makefile
README.md doc(README): drone badge 2022-03-11 11:51:31 +01:00
go.mod fix: upgrade direct dependencies 2023-07-08 19:17:30 +02:00
go.sum fix: upgrade direct dependencies 2023-07-08 19:17:30 +02:00
main.go style: golangci lint 2022-03-11 10:51:55 +01:00
renovate.json

README.md

dyndns-client

Build Status

dyndns-client is a Daemon to listen on interface notifications produced by the linux kernel of a client machine to update one or more DNS zones.

Usage

To start dyndns-client just run ./dyndns-client.

Configuration

The program is compiled as standalone binary without third party libraries. If no configuration file available under /etc/dyndns-client/config.json, than will be the burned in configuration used. If also no configuration be burned into the source code, that the client returned an error.

The example below describes a configuration to update RRecords triggerd by the interface br0 for the example.com zone. To update the zone is a TSIG-Key required.

{
  "interfaces": [
    "br0"
  ],
  "zones": {
    "example.com": {
      "dns-server": "10.6.231.5",
      "name": "example.com",
      "tsig-key": "my-key"
    }
  },
  "tsig-keys": {
    "my-key": {
      "algorithm": "hmac-sha512",
      "name":      "my-key",
      "secret":    "asdasdasdasdjkhjk38hcn38haoü2390dndaskdTTWA=="
    }
  }
}