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!
npm i rapiddns-io-scrapper
rapiddns(query, queryType)
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.
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.
const rapiddns = require('rapiddns-io-scrapper');
(async () => {
const subdomains = await rapiddns('example.org');
const sameips = await rapiddns('8.8.8.8');
})();
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
RapidDNS web will limit result to max 10000 items (100 pages * 100 items per pages).
Licensed under MIT license. See in LICENSE file.
See in CHANGELOG.md file.