6 lines
107 B
Python
6 lines
107 B
Python
import socket
|
|
|
|
def get_ip_address(domain):
|
|
hostname = socket.gethostbyname(domain)
|
|
return hostname
|