
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-cloudns
Advanced tools
Nodejs Library for https://www.cloudns.net/api-help/
##Init
npm install node-cloudns
var cloudns = require('node-cloudns').createClient(authID, authPASS)
##Methods
###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.recordsList('domain.com', function (error, data) {
if (error) { }
else {}
})
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.recordsAdd('domain.com', 'A', { record: '127.0.0.1', host: '@', ttl: 300}, function (error, data) {
if (error) { }
else {}
})
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.recordsDelete('domain.com', 15, function (error, data) {
if (error) { }
else {}
})
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.recordsModify('domain.com', 15, { record: '127.0.0.1', host: '@', ttl: 300}, function (error, data) {
if (error) { }
else {}
})
Copies all the records from a specified zone.
Note: This function is available only for master zones.
cloudns.recordsCopy (domain, targetDomain, deleteRecords, callback)
cloudns.recordsCopy('domain.com', 'domain.net', 0, function (error, data) {
if (error) { }
else {}
})
Change deleteRecords from 0 to 1 to delete copied records from the old domain
Getting SOA details.
Note: This function is available only for master zones. Works with reverse zones too.
cloudns.recordsDetailsSOA(domain, callback)
cloudns.recordsDetailsSOA('domain.com', function (error, data) {
if (error) { }
else {}
})
Gets the DynamicURL of a given record.
Note: This function is available only for A and AAAA record types.
cloudns.recordsDynamicURL(domain, callback)
cloudns.recordsDynamicURL('domain.com', function (error, data) {
if (error) { }
else {}
})
Get a list with available domain name servers.
cloudns.nameserverList(domain, callback)
cloudns.nameserverList('domain.com', function (error, data) {
if (error) { }
else {}
})
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.nameserverStatus('domain.com', function (error, data) {
if (error) { }
else {}
})
Check whether dns zone is updated on all servers. Works with reverse zones too.
cloudns.nameserverUpdated(domain, callback)
cloudns.nameserverUpdated('domain.com', function (error, data) {
if (error) { }
else {}
})
FAQs
Nodejs Library for https://www.cloudns.net/api-help/
We found that node-cloudns demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.