New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dmedyn

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmedyn

DNS Made Easy - Dynamic DNS updater

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

DMEDyn

DNS Made Easy - Dynamic DNS updater.

This simple script updates your DNSMadeEasy account with your current IP address.

Basic operation

  • Check the current outward facing IP address by alling ipify.org (this can be changed in settings)
  • If the IP has changed...
  • Update each domain A record with the new IP
  • If we are in --daemon mode, goto 1.

Installation and usage

Use NPM to download the script:

sudo npm install -g dmedyn

Create a ~/.dmedyn.json file containing your site configuration such as the below example:

{
	"username": "yourUsername",
	"password": "yourPassword",
	"domains": {
		"domain1.com": 11111111,
		"subdomain.somewhere.com": 22222222
	}
}

Running DMEDyn

Running in the foreground

Run dmedyn to update your IP just once:

dmedyn

Running as a Daemon with Forever

To use dmedyn within a process container like forever, run dmedyn in --daemon mode:

forever start `which dmedyn` -vd

The which dmedync bit is because forever needs to know the path of the actual JS file to monitor it.

Running as a Daemon with PM2

To use dmedyn within a process container like pm2, run dmedyn in --daemon mode:

pm2 start `which dmedyn` --name dmedyn -- -vd

The which dmedync bit is because PM2 needs to know the path of the actual JS file to monitor it.

Keywords

dme

FAQs

Package last updated on 12 Aug 2016

Did you know?

Socket

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