gui-host-lookup/generic/domain_lookup.py
2024-08-14 15:34:48 +02:00

6 lines
107 B
Python

import socket
def get_ip_address(domain):
hostname = socket.gethostbyname(domain)
return hostname