whoisfreaks

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 10 Imported by: 0

README

A tool in Go Lang to utilize Whoisfreaks' services like whois, DNS, SSL and Domain Availability api.

INSTALLATION

For Installation go must be installed in your machine;

go get -u github.com/WhoisFreaks/whoisfreaks

OR

go install github.com/WhoisFreaks/whoisfreaks
using source code

if you want to build on your own you can follow this;

git clone https://github.com/WhoisFreaks/whoisfreaks.git

go to the cloned directory and build the project using;

go build

and move the binary to the your machine's go path. Note: After Installation you can use following guide to perform any sort of lookup.

Authentication

For utilizing whoisfreaks' services you must sign up and get a API_KEY and then add that key to your machine which will be used for authentication.

export WHOISFREAKS_API_KEY="..."

Whois Lookup

With whoisfreaks's Whois tool you can perform;

Live whois Lookup

For live whois lookup you can use;

whoisfreaks -whois -live -domain whoisfreaks.com

to perform bulk live lookup you can use following code where you will provide multiple domains that are comma separated.

whoisfreaks -whois -live -bulk -domains whoisfreaks.com,ipgeolocation.io

Note: Maximum 100 domains will be served if you want to perform bulk lookup with more then 100 domains you can visit BULK WHOIS LOOKUP.

Historical whois Lookup

For historical whois lookup you can use;

whoisfreaks -whois -historical -domain whoisfreaks.com
Reverse whois Lookup

For reverse whois lookup based on keyword you can use;

whoisfreaks -whois -reverse -keyword whoisfreaks

For reverse whois lookup based on owner name you can use;

whoisfreaks -whois -reverse -owner ejaz_ahmed

For reverse whois lookup based on company name you can use;

whoisfreaks -whois -reverse -company jfreak

For reverse whois lookup based on email you can use;

whoisfreaks -whois -reverse -email ejaz_ahmed@outlook.com

with any of the above reverse queries you can use some additional flags like;

  • -mini to get a mini whois response that contains create_date, update_date, expiry_date and few more.
  • -page n to get control over pages if there are more then 100 records as each page contains 100 records. By default you will get first page.

Domain Availability Lookup

With whoisfreaks' domain availability lookup tool you can check for any domain if it is available for registration or not. You can use following;

whoisfreaks -domainAvailability -domain whoisfreaks.com
  • use -sug to get default five suggestions.
  • use -count if you want any number of suggestions but greater then five.

similarly, to perform bulk Domain availability lookup you can use;

whoisfreaks -domainAvailability -bulk -domains whoisfreaks.com,ipgeolocation.io

Note: suggestions flag is only available with single domain availability lookup.

DNS Lookup

With whoisfreaks's DNS tool you can perform;

  • Live DNS lookup for fetching dns information from their respective servers.
  • Historical DNS lookup for fetching historical data from whoisfreaks' database.
  • Reverse DNS lookup to fetch data from database based on values like 8.8.8.8 for reverse A records and mx.zoho.com for reverse mx records.
Live DNS Lookup

For live DNS lookup you can use following;

whoisfreaks -dns -live -domain whoisfreaks.com -dnsType all
  • use -dnsType a for A records, if you want any other record use name of that record. If you want multiple use a comma separated list like -dnsType a,mx,ns
Historical DNS Lookup

For historical DNS lookup you can use;

whoisfreaks -dns -historical -domain whoisfreaks.com -dnsType all
  • use -dnsType a for A records, if you want any other record use name of that record. If you want multiple use a comma separated list like -dnsType a,mx,ns
Reverse DNS Lookup

For reverse DNS lookup based on specific dns Record you can use;

whoisfreaks -dns -reverse -value 8.8.8.8 -dnsType a
  • -page n to get control over pages if there are more then 100 records as each page contains 100 records. By default you will get first page.

SSL Lookup

SSL cert lookup tool allows you to fetch Secure Sockets Layer (SSL) certificate along with its complete SSL cert chain.

live SSL Lookup

For live SSL lookup you can use following;

whoisfreaks -ssl -live -domain whoisfreaks.com

some other flags are also provided like;

  • -chain to get chain of all domain ssl certificates sorted from end-user to root.
  • -raw to get the raw openssl response of the domain.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
This package is for performing any type of DNS lookup, such as live, historical, or reverse lookups.
This package is for performing any type of DNS lookup, such as live, historical, or reverse lookups.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL