Skip to content

Latest commit

 

History

History
83 lines (63 loc) · 2.4 KB

README.md

File metadata and controls

83 lines (63 loc) · 2.4 KB

FreeDNS

NPM version Build Status Coverage Status Known Vulnerabilities Dependencies Downloads Install Size Contributors Pull Requests Welcome

A wrapper for the FreeDNS API.

This module is unofficial and is in no way associated with FreeDNS.

Server-Side Usage

const freeDNS = require("free-dns");

freeDNS.setup({
	userName: "nitro404",
	password: "p4ssw0rd"
});

freeDNS.updateHosts(
	{
		host: "nitro404.freedns.org",
		ipAddress: "64.230.32.69"
	},
	function(error, hosts) {
		if(error) {
			return console.error(error);
		}

		return console.log(hosts);
	}
);

Installation

To install this module:

npm install free-dns

Building

To build the distribution files for this module:

npm run build

or

gulp build