Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rapiddns-io-scrapper

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rapiddns-io-scrapper

Node.js module to scrape and extract result from rapiddns.io

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

RapidDNS scrapper

Version npm node.js version js-semistandard-style Unit test status

Node.js module to scrape and extract result from rapiddns.io (unofficial).

RapidDNS is a dns query tool which make querying subdomains or sites of a same ip easy!

Install

npm i rapiddns-io-scrapper

API

rapiddns(query, queryType)

query: string, mandatory

eg: 'google.com', '8.8.8.8'

If you put a domain/host name on query argument, it will return subdomains for that domain. If you put an IP address (IPv4 or IPv6), it will return hostname with same ip address.

queryType: string, optional

It is optional. If you want to specify it, can be one of: "subdomain" or "sameip". You don't need to specify it. RapidDNS will detect suitable resolver by your "query" value.

Example

const rapiddns = require('rapiddns-io-scrapper');

(async () => {
  const subdomains = await rapiddns('example.org');
  const sameips = await rapiddns('8.8.8.8');
})();

CLI

You can also call this module from CLI.

Install this package as global

sudo npm i --global rapiddns-io-scrapper

Then you can call it from your shell, eg:

rapiddns example.org

It will print some lines like these:

example.org
www.example.org

Limitation

RapidDNS web will limit result to max 10000 items (100 pages * 100 items per pages).

License

Licensed under MIT license. See in LICENSE file.

Changelog

See in CHANGELOG.md file.

Keywords

FAQs

Package last updated on 06 Jan 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc