OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

3.1.3. ping


Now to demonstrate how applications make use of DNS to resolve a host name use the ping utility to send an ICMP echo request. From a terminal prompt enter:


ping example.com


This tests if the nameserver can resolve the name ns.example.com to an IP Address. The command output should resemble:


PING ns.example.com (192.168.1.10) 56(84) bytes of data.

64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.800 ms

64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.813 ms


Top OS Cloud Computing at OnWorks: