node-cloudns
============
Nodejs Library for https://www.cloudns.net/api-help/
Init
npm install node-cloudns
var cloudns =
Methods
Records
List Records
List of records in the domain zone
Note: This function is available only for master zones. Works with reverse zones too.
cloudns.recordsList (domain, callback)
cloudns
Add Record
Add new record to domain zone.
Note: This function is available only for master zones. Works with reverse zones too.
cloudns.recordsAdd (domain, type, params, callback)
cloudns
Remove Record
Delete record of your domain zone.
Note: This function is available only for master zones. Works with reverse zones too.
cloudns.recordsDelete (domain, id, callback)
cloudns
Modify Record
Modify record in domain zone.
Note 1: This function is available only for master zones. Works with reverse zones too. Note 2: With this function you can't modify the record type.
** cloudns.recordsModify (domain, id, params, callback)**
cloudns
Copy Records
Copies all the records from a specified zone.
Note: This function is available only for master zones.
cloudns.recordsCopy (domain, targetDomain, deleteRecords, callback)
cloudns
Change deleteRecords from 0 to 1 to delete copied records from the old domain
SOA Details
Getting SOA details.
Note: This function is available only for master zones. Works with reverse zones too.
cloudns.recordsDetailsSOA(domain, callback)
cloudns
Get Dynamic Url
Gets the DynamicURL of a given record.
Note: This function is available only for A and AAAA record types.
cloudns.recordsDynamicURL(domain, callback)
cloudns
NameServers
Available Nameservers
Get a list with available domain name servers.
cloudns.nameserverList(domain, callback)
cloudns
Update Status
Get a list with name servers and information for update status of the domain name. Works with reverse zones too.
cloudns.nameserverStatus(domain, callback)
cloudns
Updated Nameserver Check
Check whether dns zone is updated on all servers. Works with reverse zones too.
cloudns.nameserverUpdated(domain, callback)
cloudns