Coder Social home page Coder Social logo

dynector's Introduction

dynector

Greenkeeper badge

A command-line client for adding & removing single nodes to your DynECT zone.

on npm Tests Coverage Status

Usage

To run the tool you must set the following environment variables to your DynECT account credentials:

DYN_CUSTOMER
DYN_USER
DYN_PASSWORD

The commands offered are:

dynector arecord foo.example.com 10.0.0.11: add the A record 10.0.0.11 to foo.example.com, so that foo.example.com will resolve to 10.0.0.11

dynector cname foo.example.com bar.example.com: add bar.example.com as a CNAME for foo.example.com, so that bar will resolve to foo, which is resolved elsewhere.

dynector delete gone.example.com: remove all records for gone.example.com

dynector list example.com: list all records dynect has for the given zone, with types

dynector resolve example.com: resolve all records for the given zone & return a sorted list of IPs in use

Usage:

dynector: conveniences for interacting with the dynect API

Commands:
  arecord <fqdn> <ip>   make the given fqdn resolve to the given IP
  cname <fqdn> <cname>  make the given fqdn resolve to the given cname
  delete <fqdn>         remove the named node entirely
  list <zone>           list all records for the given zone
  resolve <zone>        resolve all records for the given zone; list the IPs

Options:
  --zone, -z     specify a zone
  --replace, -r  remove, then add the record                           [boolean]
  --version      Show version number                                   [boolean]
  --help         Show help                                             [boolean]

Examples:
  dynector arecord example.com 10.0.0.1
  dynector cname www.example.com example.com
  dynector cname oops.example.com example.com
  dynector delete oops.example.com
  dynector list example.com
  dynector resolve example.com

License

ISC

dynector's People

Contributors

ceejbot avatar chrisdickinson avatar greenkeeper[bot] avatar greenkeeperio-bot avatar mmalecki 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.