RE: Linux "ping -a " analogue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nslookup is being deprecated in favor of dig.

On Fri, 24 Sep 2004, Ryan Golhar wrote:

> 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@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux