Linux "ping -a " analogue
Ryan Golhar
golharam at umdnj.edu
Fri Sep 24 16:10:31 UTC 2004
I think the Windows version uses NETBIOS to resolve names that don't
have a DNS entry.
Use nslookup. That will return the name as registered with a DNS
server. It won't use NETBIOS so private IP address probably won't be
resolved unless its in your /etc/hosts files.
Ryan
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Milen Dimitrov
Sent: Friday, September 24, 2004 11:56 AM
To: General Red Hat Linux discussion list
Subject: Linux "ping -a " analogue
Hi gurus,
Windows' command "ping -a 192.168.0.1" will resolve the IP address
192.168.0.1 into to a name if possible.
What is the linux analogue of this command?
Linux ping command doesn't seem to be able to do that...
Any ideas?
============================
C:\>ping -a 192.168.0.1
Pinging MYNEWPC [192.168.0.1] with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate
round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
=================================
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list