Resolving A Host Name From An IP Address

By using the ping command line program, we can find ot the IP address of a given host and vice-versa, while, of course, testing whether we can communicate with this host:

Ping-pong
Image via Wikipedia

Pinging an IP address is easy:

ping 1.2.3.4

We can pinging the computer name for its IP:

ping Mycomputer

But how do we find out its name from its IP? Simply use the -a switch like so:

ping -a 1.2.3.4

As for the image? Well, everyone likes a bit of…ahem…ping-pong!
My apologies.

Leave a Reply