Let's talk about whois, a fantastic tool and protocol that I use with funceble to get information about domain.

What is WHOIS?

whois is a program that will tell us the owner or at least the hosting company of any domain name.

Example

Let's try to get the information about google.com

$ whois google.com

As you can see once you executed the command, you get all information about google. But let's be more precise.

Let's talk about nslookup, a fantastic program that I use with funceble to get information about domain(s).

What is `NSLOOKUP'?

nslookup is a program that will help us or a sysadmin find out the corresponding IP address of a domain name. It can also give us the host name for an IP address.

Example

Let's try to get the information about **funilrys.com***

Valid domain name

$ nslookup funilrys.com
Server:        192.168.178.1
Address:    192.168.178.1#53

Non-authoritative answer:
Name:    funilrys.com
Address: 217.160.0.131
Name:    funilrys.com
Address: 2001:8d8:100f:f000::22e

Invalid domain name

$ nslookup funilrys.comm
Server:        192.168.178.1
Address:    192.168.178.1#53

** server can't find funilrys.comm: NXDOMAIN

This is pretty useful if we want to know if a domain is still active or not.

Non-authoritative answer:

 Name

It's the domain name.

Address

It's the corresponding IP (IPv6 and IPv4) address of the domain name.