[lug] IP address to host name?

Sean Reifschneider jafo at tummy.com
Thu Sep 7 11:52:29 MDT 2000


On Thu, Sep 07, 2000 at 11:30:53AM -0600, Glenn Murray wrote:
>Is there an easy way to find the hostname associated with
>an IP address---a sort of reverse arp?

ARP gives the *MAC* address associated with an IP address.  You
are looking for reverse DNS.  Simplyh do "host <ipaddress>" and
if there's any host name associated with that IP you will get
it.  If not, you can try "whois <ipaddr with last octet 0 at whois.arin.net"
to look up who owns the block (usually).

Sean
-- 
 The sooner you start to code, the longer the program will take. 
                 -- Roy Carlson
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the LUG mailing list