sajad torkamani
On this page

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