free-dns

A wrapper for the FreeDNS API.

Usage no npm install needed!

<script type="module">
  import freeDns from 'https://cdn.skypack.dev/free-dns';
</script>

README

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