Hostname from Internet address?

99700000 haynes at ucscc.UCSC.EDU
Wed Dec 26 07:31:07 AEST 1990


In article <1990Dec25.070328.4413 at msuinfo.cl.msu.edu> raja at cpswh.cps.msu.edu writes:
>
>Given a hostname (e.g. zip.foo.bar.edu), one
>can use a network information program like
>nslookup to find its Internet address.  How
>about the other way round?  Given an internet
>address (e.g. 1.2.3.4), how would one find the 
>complete hostname?
The latest version of nslookup (from BIND.4.8.3) will take either a number
or a name.
Or you could throw together a little program using gethostbyaddr().
Or there is some arcane manipulation involving nslookup and in-addr.arpa

haynes at ucscc.ucsc.edu
haynes at ucscc.bitnet

"Any clod can have the facts, but having opinions is an Art."
        Charles McCabe, San Francisco Chronicle



More information about the Comp.unix.questions mailing list