Giter Club home page Giter Club logo

dogodns's Introduction

DOGODNS

This app will use the public IP of it's network to update the DNS registry of DigitalOcean


Usage

Run Updater

dogodns service # --config dogodns.yaml

Available Commands

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        Creates default config file
  ip          Prints public IP that will be used for A record updates
  service     Run the service
  status      Shows a brief status page

Flags:
  -c, --config string        Path to config file without extension (default "dogodns.yaml")
  -d, --domain stringArray   List of domain names
  -h, --help                 help for dogodns
  -i, --interval int         Interval between checks (default 60)
  -p, --pip string           HTTP URL to fetch public IP from (default "https://ipecho.net/plain")
  -t, --token string         DigitalOcean R+W token
  -l, --ttl int              Domain record TTL (default 300)

Config file

Located at ./dogodns.yaml by default

# DigitalOcean API R+W token
token: <secret>

# Domain names (use either key)
domain: home.example.me
domains:
  - dev.example.me

# Public IP URL
pip: https://ipecho.net/plain

# Record TTL
ttl: 300

# Check interval
interval: 60

dogodns's People

Contributors

lajosbencz avatar

Watchers

 avatar

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.