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
- Install Python to your system if it's not available.
Now you are ready to run the code
- Copy the file dns_lookup.py and store it in any folder or Desktop.
- 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
Either the IP of the website or the website based on the IP depending on what you choose
- Michael Kossowsky (https://github.com/mikek4233)