Python 3 Find Domain Name From IP Address Using Socket Module

code.py

import socket
print(socket.gethostbyaddr("188.166.49.53"))

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.