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

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!sgi!fido!fido!jackr
  2. From: jackr@wpd.sgi.com (John "Jack" Repenning)
  3. Newsgroups: comp.sys.sgi.admin
  4. Subject: Re: system names from IP
  5. Date: 14 Dec 92 17:58:13
  6. Organization: Silicon Graphics, Inc.
  7. Lines: 17
  8. Message-ID: <JACKR.92Dec14175813@dblues.wpd.sgi.com>
  9. References: <1992Dec14.172453.26933@den.mmc.com>
  10. NNTP-Posting-Host: dblues.wpd.sgi.com
  11. In-reply-to: beck@enterprise.den.mmc.com's message of 14 Dec 92 17:24:53 GMT
  12.  
  13. In article <1992Dec14.172453.26933@den.mmc.com> beck@enterprise.den.mmc.com (Fred R. Beck) writes:
  14.  
  15.    Has anyone out there ever tried to resolve a system name
  16.    from an IP number?
  17.  
  18. It turns out to be even easier than one other responder suggests.
  19. I've never seen documentation that admits this (so it's probably
  20. totally unofficial), but every version of nslookup I've ever tried
  21. will accept:
  22.  
  23.     nslookup <<EOF
  24.     set q=ptr
  25.     $1
  26.     EOF
  27.  
  28. That is, you don't need the shell-game to reverse the address and add
  29. "in-addr.arpa".
  30.