After searching Google for awhile, looking for a simple Python host to IP or IP to host script, there haven’t been any released scripts that do what I want it to.
I did, however, gain some tips on making one. Here’s a simple Python IP and host resolver I coded. Simply input the IP or the hostname, and it will resolve that for you.
It uses Python’s “socket” module to resolve. This is a script to be used for converting an IP to it’s host-name or finding the IP address of a host (domain).
I’m obviously not responsible for what you do with this script. This is for educational purposes only. Have fun!
And yes, it only took me about 5 minutes to make.


