Coder Social home page Coder Social logo

isit's Introduction

isit

The domain availability command-line uitlity.

This command-line application helps in domain name availability discovery with three different concurrent lookup methods.

Install

$ go get github.com/picatz/isit

Build from Source

Until I've figured out a better solution:

$ go get github.com/urfave/cli
$ git clone https://github.com/picatz/isit.git
$ cd isit
$ go build isit.go

Command-line Options

The available command-line flag simply checks if the given domain(s) are available.

$ isit available google.com g000000000000000gle.com
false		google.com
true		g000000000000000gle.com

The registered command-line flag simply checks if the given domain(s) have been registered.

$ isit registered google.com g000000000000000gle.com
true		google.com
false		g000000000000000gle.com

The resolvable command-line flag simply checks if the given domain(s) are resolvable (to an IP address).

$ isit resolvable google.com g000000000000000gle.com
true		google.com
false		g000000000000000gle.com

The up command-line flag simply checks if the given domain(s) are up or not.

$ isit up google.com g000000000000000gle.com
true		google.com
false		g000000000000000gle.com

Help Menu

NAME:
   isit - domain availability command-line utility

USAGE:
   isit [global options] command [command options] [arguments...]

VERSION:
   1.0.0

COMMANDS:
     available, a   check if the given domain(s) are available
     registered, r  check if the given domain(s) are registered
     resolvable, R  check if the given domain(s) are resolvable
     up, u          check if the given domain(s) are up
     help, h        Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

isit's People

Contributors

gr3atwh173 avatar picatz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gr3atwh173

isit's Issues

Duck Duck Go Domain Parking Check

Can help detect if a domain has been regisrted by checking if it's been parked.

curl "https://duckduckgo.com/?q=facebook.com" | grep "is a parked domain (last time we checked)"

Add multiple whois HTTP backends

In truth, to search for if a domain is available via HTTP backends can be pretty darn straight forward.

Like anything else in like, or in programming, it is not perfect.

How To

You go to google.com and type in a domain finding application to register a site.

On most sites, you have a nice search bar and we can type in the domain we like, you know the drill I'm sure.

You type in facebook.com to check if it's available for your next startup for faces in books.

You see that it's already been registered. You will see other information along with it:

Domain Name: facebook.com
Registry Domain ID: 2320948_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.markmonitor.com
Registrar URL: http://www.markmonitor.com
Updated Date: 2016-11-29T12:28:07-0800
Creation Date: 1997-03-28T21:00:00-0800
Registrar Registration Expiration Date: 2025-03-29T00:00:00-0700
Registrar: MarkMonitor, Inc.

There's probably a mess of other stuff on the screen. But, we could simply do a grep for Registrar in our command-line with curl and easily check if a domain in grep with some BASH

curl https://www.whois.com/whois/facebook.com -s | grep "Registrar" -q

-s will suppress output from cur and -q will suppress output from grep

This allows us to use that logic like so:

if $(curl https://www.whois.com/whois/facebook.com -s | grep "Registrar" -q); then 
    echo "facebook.com is available!"
else
    echo "facebook.com isn't available"
fi

Go Code not BASH Scripts

Then, all we need to do is translate that logic into Go code.

That's it.

Multiple Backends

We can't just pseudo curl one site. We need maximum efficiency for large batches and need to cross-reference results. This is where multiple HTTP backends comes in most handy.

Add ping backend/option

Simple and effective for some situations to check if a domain is already used.

Not perfect in all situations, sure.

Add cscprotectsbrands detector

Quick Overview of cscprotectsbrands

Cyber security services, including DNS, distributed denials of service (DDoS) 
protection, **anti-phishing** and email fraud solution, SSLs, MultiLock, and two-factor 
authentication. ... 

For example: appl-e.com is protected by them.

It'd be nice to have a check for them like MarkMonitor.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.