Querying the domain registration information
After you know the target domain name, the first thing you would want to do is query the Whois
database about that domain to look for the domain registration information. The Whois
database will give information about the DNS server and the contact information of a domain.
WHOIS
is a protocol for searching Internet registrations, databases for registered domain names, IPs, and autonomous systems. This protocol is specified in RFC 3912 (https://www.ietf.org/rfc/rfc3912.txt).
By default, Kali Linux already comes with a whois
client. To find out the Whois
information for a domain, just type the following command:
# whois example.com
The following is the result of the Whois
information:
Domain Name: EXAMPLE.COM Registrar: RESERVED-INTERNET ASSIGNED NUMBERS AUTHORITY Sponsoring Registrar IANA ID: 376 Whois Server: whois.iana.org Referral URL: http://res-dom.iana.org Name Server: A.IANA-SERVERS.NET Name Server: B.IANA-SERVERS.NET Updated...