Coder Social home page Coder Social logo

go-dynip's Introduction

go-dns

go-dns is a dynamic IP updater for DNSimple.com domains. go-dns will update and pre-configured domain's ip to the ip of your router.

Quick Start

Download one of the archives listed below, and extract to the location of your choice. One of the included files is a settings.json.sample. Rename that file to settings.json, and update its contents appropriately. The values in the file are pretty self explanitory. The required email is the one you use to log into dnsimple.com with. The token can be found in your dnsimple.com account profile, under the API tab.

Here is an example settings.json file. Note, you shouldn't have to change the record-type attribute.

{
  "credentials" : {
      "email": "[email protected]",
      "token": "ABCfGHI56aPe98IuYTR"
  },
  "domains" : [
    {
      "name": "example.com",
      "record-type": "A"
    },
    {
      "name": "foobarbaz.com",
      "record-type": "A"
    }
  ]
}

Next, run go-dns

$ go-dns
...

And thats it. go-dns will print out your router ip, and if the IPs of the domains match or not. If go-dns finds a mismatch, it will update the domain IP to the router's IP.

Available Downloads

Contributing to go-dns

  • Fork this repository on github
  • Make your changes and send us a pull request
  • If we like them we'll merge them

go-dynip's People

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.