Git Product home page Git Product logo

ddns's Introduction

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.

ddns's People

Contributors

analogist avatar fossoreslp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

analogist

ddns's Issues

Stability testing

This project has been thrown together on an evening because I needed a DDNS client for NS1.
It has not been tested extensively and does not have any unit tests.
I have been using it for some time before publishing and had no issues besides some rate-limiting which is easy to work around be increasing the delay.
I'll do some more testing when I find the time and will update this issue accordingly.
When I deem this project stable enough I will tag the first release and add some binaries for Windows and Linux.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.