Skip to content

Latest commit

 

History

History
 
 

dns_lookup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

DNS Lookup

This script will ask you if you want to lookup an IP address based on website or hostname or vice versa. Based on you choice you will have to input an IP or a website/hostname and it will return your results

Installation

  • Install Python to your system if it's not available.

Now you are ready to run the code

Note:

  • Copy the file dns_lookup.py and store it in any folder or Desktop.

Steps to run:

  • Open the dns_lookup.py file i.e run it.
  • To run it, you can open command prompt/shell/terminal in the containing folder and type the following command:
    python dns_lookup.py
    

Output:

Either the IP of the website or the website based on the IP depending on what you choose

Contributor