Bulk Domain Name Lookup Tool in Ruby
Ruby
Latest commit 8bcc8f8 Oct 22, 2015 @joenorton adding documentation
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
domainblob-1.0.0.gem
domainblob.gemspec

README.md

domainblob

Domain Name Lookup Tool

Install

gem install domainblob

How to use

Usage: db [MODE FLAG] [options] seed_keyword
    -v, --verbose                    Output more information
    -c, --check                      MODE FLAG: Checkfile mode
    -l, --list                       MODE FLAG: Phraselist mode
    -q, --quickcheck                 MODE FLAG: QuickCheck mode
    -h, --help                       Display this screen

Default Mode

db seed_keyword

When you run the script, with db insert_cool_word_here then it will use your root phrase to check over 200 potential domain names for availability. (Using pre-made prefix and suffix lists I have included in the package)

When it is done, it will create a text document named after the phrase you used as your seed - followed by the number found to be available. It will put this result file into your newly created 'blobs' folder. Example: blobs/Tech30.txt

PhraseList Mode

db --list joes_list_of_seed_keywords.txt

or

db -l joes_list_of_seed_keywords.txt
  1. Create a txt document named totalPhraseList.txt in the same directory as the script
  2. The script will process each line of the totalPhraseList.txt document, so put one seed word per each line and they will be run right after another.
  3. When you run the script, with ruby domainblob.rb then it will use your root phrase to check a couple hundred potential domain names for availability.
  4. Sit tight.
  5. When it is done, it will create a text document named after the phrase you used as your seed - followed by the number of domains found. Example: blobs/Tech30.txt

QuickCheck Mode

This is what to use when you just want to check a domain name on the fly. Just type:

db --quick domain-name.com

or

db -q domain-name.com

And it will check whether the domain you entered is available or not! No more going to Godaddy all the time!

CheckFile Mode

This is what to use when you have a long list of domain names that you want to check. Simply load them all into a text file, one per each line, and then set domainblob on it. Here's an example:

db --check joes_list_of_domains.txt

or

db -c joes_list_of_domains.txt

How Long Does it Take?

It takes a while. We do not use the RegEx & Zone File method for finding domain name availability. While that would be fastest, I do not have Zone File Access and even if I did -- I would not be allowed to distribute that Zone File.

Required Gems:

  • Whois
  • Open-uri
  • Resolv

License:

GNU GPLv3 (http://www.gnu.org/licenses/gpl.html)