项目作者: hdecarne

项目描述 :
DDNS client for AWS/Route53
高级语言: Java
项目地址: git://github.com/hdecarne/ddns-updater.git
创建时间: 2018-06-08T21:11:10Z
项目社区:https://github.com/hdecarne/ddns-updater

开源协议:GNU General Public License v3.0

下载


Downloads
Build
Coverage

About DDNS Updater

ddns-updater is a command line tool to perform dynamic DNS (DDNS) updates. It provides various finder mechanisms to gather the
running host’s ip addresses and update mechanisms for several DNS backends.

The following address detection mechanisms are supported:

  • Interface based (examining the addresses of the running host’s interfaces)
  • UPnP based (querying the local network’s router for the external IPv4 address)
  • Web based (querying one or more web based services to determine the running host’s ip addresses)

The following DNS backends are supported:

  • AWS/Route53 (updating AWS/Route53 zone information)
  • Web (invoking a web based service to update DNS)

Installation

To install ddns-updater you have to download a suitable release archive and extract it or build it from source by cloning the repository and issueing a simple

  1. make build

To build ddns-updater, Go version 1.20 or higher is required. The resulting binary will be written to ./build/bin.
Copy the either extracted or built tool binary to a location of your choice (e.g. /usr/local/bin/).

Configuration

The ddns-updater tool retrieves most of its configuration from a configuration file. See ddns-updater.toml as a reference and adapt it to your need. The default location of the
configuration file is /etc/ddns-updater/ddns-updater.toml. An explicit location
can be given via the —config command line option (see next section).

Usage

The ddns-updater tool supports the following command line:

  1. ddns-updater [--verbose|--debug] [--config=<config file>] [--pretend] [--force] [--reset-cache]
  2. --verbose
  3. Enable verbose output.
  4. --debug
  5. Enable debug output.
  6. --config=<config file>
  7. Read configuration from file <config file>.
  8. If this option is not set, configuration is read from /etc/ddns-updater/ddns-updater.toml.
  9. --pretend
  10. Gather the host's ip addresses and prepare a DDNS update, but do not apply it.
  11. --force
  12. Forces an update (even if the DNS information is considered up-to-date).
  13. --reset-cache
  14. Clears the tool's cache to restart from scratch.

Changelog:

See CHANGELOG.md.

License

This project is subject to the the MIT License.
See LICENSE information for details.