Hostname from Internet address?

Neil Rickert rickert at mp.cs.niu.edu
Wed Dec 26 03:01:48 AEST 1990


In article <1990Dec25.070328.4413 at msuinfo.cl.msu.edu> raja at cpswh.cps.msu.edu writes:
>
>about the other way round?  Given an internet
>address (e.g. 1.2.3.4), how would one find the 
>complete hostname?
>
  The library function gethostbyaddr() is provided for this purpose.  But
if you want to use 'nslookup', set type=PTR, then resolve the address
4.3.2.1.in-addr.arpa.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940



More information about the Comp.unix.questions mailing list