1.0.3 • Published 11 years ago

noip-updater v1.0.3

Weekly downloads
15
License
-
Repository
-
Last release
11 years ago

Node.js NoIP Updater

This script will update NoIP every 12hrs, or --frequency time, where time is the number of hours. It is recommended to use forever to restart the script if it crashes. Example start command using forever: forever start -l forever.log -o out.log -e err.log app.js -u yourUsername -e yourB64PassHere -d your.domain.no-ip.org -s

To keep your NoIP password out of the bash history, you can prefix the command with a space. (This doesn't always work, credit to catonmat.com)

The script uses ICanHazIP.com by default to get your public IP address.

The interpreter for noip-updater is Node.js.

API

Programatically, you can call

var updater = require('noip-updater');

updater.getPublicIP(function(ip) {
	updater.updateNoIP(user, pass, domain, ip, false, function(body, response, error) {
		console.log(body);
	});
});

Functions

updater.getPublicIP(cb);
updater.updateNoIP(user, pass, domain, ip[, useHTTPS[, cb]]);
1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago