In: Computer Science
[Small Experiments] Try the commands or readings below and answer to the corresponding questions. Please note that the commands given should be tried on Linux or mac OSX terminal or Windows cmd window. The results of running these commands might be different in different systems.
whois
Use whois command to find information about a website (e.g.
google.com, yahoo.com, or a website you pick). Enter the command in
the form: "whois <URL>".
Provide the print screen or cut and paste of the output.
Describe ten interesting pieces of information you found in running
this command.
dig
Use dig command to find information about a website (e.g.
google.com, yahoo.com, or a website you pick). Enter the command in
the form "dig <URL>".
Provide the print screen or cut and paste of the output.
Describe ten interesting pieces of information you found by running
this command.
I am adding the following information for each of the
commands.
1. Command
2. Picture of output
3. Ten features from the output
whois
Command: whois google.com
Output:
Features from the output:
1. Domain name
2. Registrar URL
3. Creation date of the site
4. Last update date of the site
5. Registrar abuse contacts
6. Various domain statuses
7. Various servers of the site
8. Inaccuracy complaint form
9. Admin country and states
10. Tech country and state
dig
Command: dig google.com
Output:
Features from the output:
1. Os from which site is queried
2. global options
3. id of the answer
4. flags in the answer
5. Whether response has authority or not
6. protocol and port number of reply
7. IP address of the answer received
8. Query processing time(it varies based on receivers
connection)
9. server public address
10. Message size received (varies if more options provided with
command)
Let me know in the comments if any edit or improvement is required for the answer. PLease leave an upvote if this helped.