Find ip address of website using domain name

Опубликовано: 21 Июль 2026
на канале: ALL FOR ONE TECH
42
5

Terminal command:
ping www.examplewebsite.comDomain name
nslookup www.examplewebsite.com
If you have linux you can use dig command to IP address also...
dig www.examplewebsite.com

my python code similarly nslookup

In Python, you can perform similar DNS queries using the socket module. Specifically, the gethostbyname() function can be used to resolve a hostname to an IP address, and the gethostbyaddr() function can be used to resolve an IP address to a hostname.

We ARE
AFOT takes pride in its commitment to innovation, consistently pushing technological boundaries to deliver top-tier products and services to its valuable clients. Get in touch with us today to explore how AFOT can assist you in real time goals

contact support : [email protected]