Get IP address of domain
5 May 2022 (Updated 4 September 2022)
ping
Run:
ping example.com
This should output something like:
PING example.com (93.184.216.34): 56 data bytes
64 bytes from 93.184.216.34: icmp_seq=0 ttl=54 time=105.199 ms
64 bytes from 93.184.216.34: icmp_seq=1 ttl=54 time=101.673 ms
64 bytes from 93.184.216.34: icmp_seq=2 ttl=54 time=100.270 ms
The IP number after the domain name (93.184.216.34
in the above example) is what you want.
host
Run:
host example.com
This should output something like:
example.com has address 93.184.216.34
example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946
example.com mail is handled by 0 .
Tagged:
Networking
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment