home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5878 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.6 KB

  1. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!watson.lib.muohio.edu!pmurray
  2. Newsgroups: comp.unix.ultrix
  3. Subject: Re: How to use nslookup to go from IP address to name?
  4. Message-ID: <1992Jul24.133238.11883@miavx1.acs.muohio.edu>
  5. From: pmurray@watson.lib.muohio.edu (Peter Murray)
  6. Date: 24 Jul 92 13:32:38 -0500
  7. References: <1992Jul24.104122.9943@nntpd.lkg.dec.com>
  8. Distribution: comp
  9. Organization: Miami University Libraries
  10. Nntp-Posting-Host: watson.lib.muohio.edu
  11. Lines: 34
  12.  
  13. coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size) writes:
  14. :     This may be a FAQ, in which case please accept my apologies; I've just
  15. :     added this group.
  16. :     How can I use nslookup to translate an IP address into a fully-qualified
  17. :     host name?  It will do the reverse, but any time I feed it an address, it
  18. :     just parrots it back to me.
  19.  
  20. Translating IP addresses to names requires use of the reverse-mapping
  21. pointers.  The first step is to ask nslookup for a PTR entry, rather than
  22. an A entry.  Then ask for the .in-addr.arpa. pointer.  An example is below:
  23.  
  24. pmurray:~:290: nslookup
  25. Default Server:  lib.muohio.edu
  26. Address:  134.53.24.2
  27.  
  28. > set query=ptr
  29. > 2.24.53.134.in-addr.arpa.
  30. Server:  lib.muohio.edu
  31. Address:  134.53.24.2
  32.  
  33. 2.24.53.134.in-addr.arpa        host name = watson.lib.muohio.edu
  34. > exit
  35.  
  36.  
  37. This is a reverse translation for 134.53.24.2.  Note that the numbers are
  38. reversed in the query.
  39.  
  40. Peter
  41.  
  42. -- 
  43. Peter Murray, Library Systems Manager        pmurray@watson.lib.muohio.edu
  44. King Library Technical Support                      pemurray@miavx1.bitnet
  45. Miami University, Oxford, Ohio                              W:513/529-2884
  46.