dynadot
v1.0.5
Published
library for interacting with Dynadot API
Downloads
4
Readme
Dynadot API
api version 3 wrapper which converts their XML response to JSON
Install
npm install --save dynadot
Embed
var Dynadot = require('dynadot')
var dynadot = new Dynadot('<APIKEY>')
Methods
listDomains()
retrieves all domains from Dynadot and returns them (if success) as an object with domain as key, this way you can lookup very fast. Dynadot returns all the information for all domains, all you need to do is to find the domain by its index as domainname.
var allDomains = await dynadot.listDomains()
setNameserver(domain,['ns1','ns2'...])
await dynadot.setNameserver('temp.com',['ns1.com','ns2.com'])