duckdns

A simple duckdns updater.

Usage no npm install needed!

<script type="module">
  import duckdns from 'https://cdn.skypack.dev/duckdns';
</script>

README

duckdns

npm version

An another updater tool & lib for DuckDNS.

Table of Contents

Installation

# for projects
$ npm i duckdns --save

# for cli tool
$ npm i duckdns -g

Lib Usage

const {clear, updateIpAddress} = require('duckdns');

(async function() {
  const res = await updateIpAddress('ip-address', 'your-domain', 'your-token');
  console.log(res);
})();

CLI Usage

# simple usage
$ duckdns --token abc --ip 0.0.0.0 --domain just4test

# show help
$ duckdns --help