ddns

command module
v0.0.0-...-4a28e80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2020 License: BSL-1.0 Imports: 13 Imported by: 0

README

DDNS

A dynamic DNS client made for NS1

This repository contains a DDNS client that uses the NS1 API through their golang package to set records to the public IPs of the machine running it.

It can be configured via command-line options (use -h to list all) or via a TOML config file (by default located in /etc/ns1-ddns/config.toml). A sample config is included in this repository as config.toml.

You need an external server that returns the IPv4 and IPv6 addresses of the client on seperate subdomains. There are three options:

  1. You can use the one provided in request-server (it uses port 2460 to work independently from any webserver) and set it up on a device outside your network.
  2. You can use an API provided by a service like https://whatismyipaddress.com which is used in the sample config file. Be aware of the strict rate limiting though.
  3. You can develop your own solution and deploy that.

Make sure that your choosen solution provides two subdomains, one with only an A record and a second one with only an AAAA record.

This project is in no way affiliated with or endorsed by NS1.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL