FreeDNS
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