ddns-client
v0.2.4
Published
A dynamic DNS client for Dynamic DNS Update API compatible services like DynDNS and Google Domains
Downloads
4
Readme
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.