Ping is short for Packet Internet or Inter-Network Groper. Given the internet's military background this term was derived from the navy's term for the sound of a returned sonar pulse. Like in submarine sonar detectors, ping works by sending a network data packet to the endpoint (IP address) and awaits a response to infer presence of a device or computer at the other end.
What does the Ping tool do?
Ping tool replicates functionality of a the traditional Ping tool found in Unix and Windows systems. Given a domain or IP it checks if the endpoint is alive by sending network packets (data) to it and awaiting a valid response.
How does it Ping a domain?
Since Ping works at the network layer it cannot actually ping a Domain. Ping can send data to IP addresses only. If Ping is inititated on a domain, it first uses DNS to fetch the associated IP address of the domain and then initiates a Ping to that IP address.
Does it work across all IP address?
Yes it should work across all IP address (both IPv4 and IPv6) except when ICMP (Internet Control Message Protocol) Echo Request is blocked by firewalls in the network connecting the Ping server and end point IP address.
If a Domain has more than one IP address which IP will it ping?
This tool uses local DNS to resolve the domain to IP address and will ping the first IP returned by the DNS server.