name server
    Thomas Tornblom 
    thomas at uplog.se
       
    Mon Sep 10 19:06:02 AEST 1990
    
    
  
In article <90252.231430TOMIII at MTUS5.BITNET> TOMIII at MTUS5.BITNET (Thomas Dwyer III) writes:
   Does anyone know how to obtain the hostname of a machine given the IP
   address using a name server (the nslookup feature of unix?) ?
nslookup -query=ptr <ip-address reversed>.in-addr-arpa.
I.e:
For the host 192.16.142.80 the query would be:
nslookup -query=ptr 80.142.16.192..in-addr-arpa.
-- 
Real life:      Thomas Tornblom                 Email:  thomas at uplog.se
Snail mail:     Telesoft Uppsala AB             Phone:  +46 18 189406
                Box 1218                        Fax:    +46 18 132039
                S - 751 42 Uppsala, Sweden
    
    
More information about the Comp.unix.admin
mailing list