Home
Crypto
Create
<b>Source</b> <pre> import socket hostname = "sso.intranet.pajak.go.id" ip = socket.gethostbyname(hostname) print ip print socket.gethostbyaddr(ip) </pre> <b>Result</b> <pre> D:\PROJECTS\PYTHON\belajar\violent-python>python test1.py 10.245.7.41 ('approweb.intranet.pajak.go.id', ['sso.intranet.pajak.go.id'], ['10.245.7.41']) </pre> #kantor #python #nice