Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
internetbs
Advanced tools
"Node.js library for the Internet.bs API"
Weekly downloads
Readme
Node.js library for Internet.bs Reseller/Registrar Domain Name API.
npm install internetbs
var Internetbs = require('internetbs'),
internetbs = new Internetbs('testapi', 'testpass', true);
internetbs.domains.check('example.com', function(err, res) {
console.log(res);
});
Checks the availability of a domain
internetbs.domains.check('example.com', function(err, res) {
console.log(res);
});
Registers a new domain name. Optionally include years
and params
to set additional required params. If params
fields are not set, values from internetbs.setDefaults
will be used.
internetbs.domains.create('example.com', '1Y', function(err, res) {
console.log(res);
});
internetbs.domains.create('example.com', { Registrant_FirstName: 'Pedro', ..... Billing_Email: 'pedro@oitozero.com' }, function(err, res) {
console.log(res);
});
Update a domain name. Optionally include params
to set additional required params. If params
fields are not set, values from internetbs.setDefaults
will be used.
internetbs.domains.update('example.com', {...}, function(err, res) {
console.log(res);
});
Returns information about the requested domain.
internetbs.domains.getInfo('example.com', function(err, res) {
console.log(res);
});
Returns a list of domains for an account. Set optional params to filter results.
internetbs.domains.getList(function(err, res) {
console.log(res);
});
Add a new DNS record to a specific zone (domain).
internetbs.domains.dns.add('www.example.com', 'A', '192.168.1.1', {}, function(err, res) {
console.log(res);
});
Remove a DNS record from a specific zone..
internetbs.domains.dns.remove('www.example.com', 'A', {}, function(err, res) {
console.log(res);
});
Update an existing DNS record.
internetbs.domains.dns.update('www.example.com', 'A', '192.168.1.2', {}, function(err, res) {
console.log(res);
});
Retrieve the list of DNS records for a specific domain.
internetbs.domains.dns.setCustom('smithfam.net', ['dns1.stabletransit.com', 'dns2.stabletransit.com'], function(err, res) {
console.log(res);
});
Pedro Sampaio (pedro@oitozero.com).
The MIT License (MIT)
Not endorsed by or affiliated with Internet.bs.
FAQs
"Node.js library for the Internet.bs API"
The npm package internetbs receives a total of 2 weekly downloads. As such, internetbs popularity was classified as not popular.
We found that internetbs 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.