home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 17996 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.8 KB

  1. Xref: sparky comp.sys.sgi:17996 comp.sys.sgi.admin:9
  2. Newsgroups: comp.sys.sgi,comp.sys.sgi.admin
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!enterprise.den.mmc.com!beck
  4. From: beck@enterprise.den.mmc.com (Fred R. Beck)
  5. Subject: RE: system names from IP
  6. Message-ID: <1992Dec14.203259.15176@den.mmc.com>
  7. Sender: news@den.mmc.com (News)
  8. Nntp-Posting-Host: gate-enterprise.den.mmc.com
  9. Organization: Martin Marietta
  10. Date: Mon, 14 Dec 1992 20:32:59 GMT
  11. Lines: 76
  12.  
  13. In article <1992Dec14.182618.3199@den.mmc.com>, you write:
  14. |> 
  15. |> Does anyone know how one might be able to derive
  16. |> a systems hostname from it's IP address?!?  RARP is
  17. |> similiar in function in that it is supposed to be able
  18. |> to derive an IP number from a physical ethernet address,
  19. |> however, I need to go one step further.
  20. |> 
  21. |> Any help would be appreciated!
  22. |> 
  23. |> P.S. The network I am operating on does not have any
  24. |>      "open" accounts which could be used for a
  25. |> 
  26. |>         rsh IP# uname -n
  27. |> 
  28. |>      The network is also EXTREMELY heterogeneous and
  29. |>      LARGE!
  30. |> 
  31. |> Thanx!
  32. |> 
  33. |> -fred
  34. |> 
  35. |> 
  36. |> ****************************************************************************
  37. |>   Fred R. Beck    :-)                 Martin Marietta Astronautics Group
  38. |>   beck@enterprise.den.mmc.com        P.O. Box 179
  39. |>   (303) 971-1584                     Attn. Fred Beck, M.S. L5420
  40. |>   FAX:  (303) 971-2563               Denver, Colorado  80201
  41. |> ****************************************************************************
  42. |> 
  43.  
  44.  
  45. I would like to thank all who replied VERY much!!  I am afraid
  46. that in my rush, I lost all of your addresses...  Pulled an `ol
  47. "I am very stupid"...  Anyway, thanx.
  48.  
  49. And the winner was...  NSLOOKUP
  50.  
  51. The steps are as follows:
  52.  
  53. 1) nslookup    - To start up nslookup in interactive mode
  54. 2) set type=ptr    - To change the type of information query to
  55.           type pointer
  56. 3) type in the IP# in reverse order
  57. 4) append ".in-addr.arpa" to the result
  58.  
  59. A typical session is as follows:
  60. % nslookup
  61. Default Server:  mmagnet1.mmc.com
  62. Address:  129.243.0.1
  63.  
  64. > set type=ptr
  65. > 115.3.243.129.in-addr.arpa
  66. Server:  mmagnet1.mmc.com
  67. Address:  129.243.0.1
  68.  
  69. 115.3.243.129.in-addr.arpa      name = gate-enterprise.den.mmc.com
  70.  
  71.  
  72. This might be a good addition to the FAQ!!  Hint, Hint...
  73.  
  74. P.S.  There was also an indication of a tool on archie
  75.     called "dig" (from Leif).  I did not pursue this
  76.     due to the solution via nslookup.
  77.  
  78. Thanx again to all!!
  79.  
  80. -fred
  81.  
  82. ****************************************************************************
  83.   Fred R. Beck    :-)                 Martin Marietta Astronautics Group
  84.   beck@enterprise.den.mmc.com        P.O. Box 179
  85.   (303) 971-1584                     Attn. Fred Beck, M.S. L5420
  86.   FAX:  (303) 971-2563               Denver, Colorado  80201
  87. ****************************************************************************
  88.  
  89.