npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ovh-dynhost2

v2.0.6

Published

Update a Ovh DynHost or a A entry with your current IP.

Downloads

31

Readme

ovh-dynhost2

NPM Version

This script update a dynHost entry from ovh with your current public IP

This script use the npm packages @ovh-api/api and @ovh-api/domain

setup

npm install -g ovh-dynhost2

or without setup

npx ovh-dynhost2 --help

Usage

$> ovh-dynhost2 --help
Usage: index [options] [command]

create and update a dyn-host or standard DNS entry.

Options:
  -V, --version                  output the version number
  -v, --verbose                  verbose process
  -s, --standard                 use standard DNS entry instead of dynhost (default: [])
  -d, --domain <domain>          add domain to configure (default: [])
  -u, --url <url>                add url used to find public IP (default: [])
  -l, --local <localAdress>      Local address to bind if you have mutiple gateway
  -i, --interface <inet>         interface to use
  -t, --token <tokenfile>        save and reuse the certificat by storing them in a file
  -c, --credential <credential>  provide a credential as {appKey}:{appSecret}:{consumerKey} to be store in token file
  --curl                         use curl
  --timeout <timeout>            timeout to get ip address (default: "2000")
  -h, --help                     display help for command

Commands:
  dump                           dump compact credential for quick deploy

example

Update 2 entry

ovh-dynhost2 -d dom1.domain.com -d dom1.seconddom.net -t ~/.secretToken.json

Update one entry with an 2 custom url to detect public IP

ovh-dynhost2 -d dom1.domain.com -u http://monip.org -u http://ipProvider1.org/raw -t ~/.secretToken.json

Update one entry on a multiple gateway host by interface name

ovh-dynhost2 -d dom1.domain.com -l eth2

Update one entry on a multiple gateway host by interface IP

ovh-dynhost2 -d dom1.domain.com -l 10.0.0.2

note

To make the compilation works for a global root setup, you may need to configure your npm with this:

apt install python libcurl4-openssl-dev build-essential
npm install -g node-pre-gyp

npm config set user 0
npm config set unsafe-perm true

npm install -g ovh-dynhost2