py__get_dns_hostname.py
import socket ip = socket.gethostbyname('google.com') print(ip) # Result: 173.194.121.9