ddns-client
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

ddns-client

A dynamic DNS client for Dynamic DNS Update API compatible services like DynDNS and Google Domains.

Usage

CLI

Installation

npm install -g ddns-client

Updating a Domain Name

ddns-client update foo.example.com -u BJtkgqWBqBwcE6cX -p NXlOLv34MZVS0JH9

More Information

ddns-client help

API

Installation

npm install ddns-client

Updating a Domain Name

const ddns = require('ddns-client')

const response = await updateFQDN('foo.example.com', {
  username: 'BJtkgqWBqBwcE6cX',
  password: 'NXlOLv34MZVS0JH9',
})

if (response === false) {
  console.log('No update was required.')
} else {
  console.log(response)
}

More Information

See index.d.ts.

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i ddns-client

    Weekly Downloads

    1

    Version

    0.2.4

    License

    MIT

    Unpacked Size

    18 kB

    Total Files

    6

    Last publish

    Collaborators

    • jordanbtucker