New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

domainsearch

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domainsearch

A tool to search for domain names

latest
Source
npmnpm
Version
0.4.4
Version published
Weekly downloads
6
20%
Maintainers
1
Weekly downloads
 
Created
Source

domainsearch

A commandline tool that searches a given dictionary file for possible domain names created by simply inserting a dot in the word. By default, it will search all existing top-level domains, but you can also provide a list of domains to search.

Optionally, you can also have the tool check for dns availability, using the --verify parameter. It will retry queries that time out, until they're all queried, or if the same list of domains keep giving timeouts, whichever comes first.

Installation

npm install -g domainsearch

Basic usage

domainsearch dictionaryfile or domainsearch --word myword

Parameters

One of either dictionary or word must be given.

  • --dictionary, -d — Specify the dictionary file to use
  • --word, -w — Don't use a dictionary, but rather just use one specific word
  • --domains, -D — Specify a comma-separated list of top-level domains to search (for example 'ga, it, net')
  • --verify, -V — Check if the domains are available for registration
  • --sort, -s — Alphabetically sort the output
  • --alldomains, -a — Include all existing top-level domains, and not only ones that are known to be available for registration
  • --include-nonsplit, -i — For the word "delicious", look for available top domains like "delicious.com", and not just clever constructs like "delicio.us"
  • --exclude-xn, -x — Exclude domains that start with XN--

Examples

To search all existing top-level domains for Swedish words, without verification: domainsearch dictionaries/swedish.dic --alldomains

To search all existing top-level domains for Swedish words, with verification: domainsearch dictionaries/swedish.dic --verify --alldomains

To search only a few top-level domains for Swedish words, without verification: domainsearch dictionaries/swedish.dic --domains 'ga, se, zippo'

To search the entire english dictionary for available [word.domain] domains, excluding domains that start with XN--, verify availability, only look at top level domains that are possible to register, sort the output and store it in us.txt: domainsearch dictionaries/usenglish.dic --verify --exclude-xn --sort > us.txt

Be aware a big search like this takes something like 40 minutes to complete.

FAQs

Package last updated on 14 Nov 2017

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