api version 3 wrapper which converts their XML response to JSON
npm install --save dynadot
var Dynadot = require('dynadot') var dynadot = new Dynadot('<APIKEY>')
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()