Socket
Socket
Sign inDemoInstall

dynector

Package Overview
Dependencies
116
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dynector

DynECT dns API command-line tool


Version published
Weekly downloads
4
decreased by-71.43%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

dynector

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

Keywords

FAQs

Last updated on 06 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc