home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / misc / 3594 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.4 KB

  1. Path: sparky!uunet!ogicse!news.u.washington.edu!uw-beaver!uw-coco!nwnexus!ralphs
  2. From: ralphs@halcyon.com (Ralph Sims)
  3. Newsgroups: comp.mail.misc
  4. Subject: Re: help on IP address
  5. Message-ID: <1992Nov5.153349.13260@nwnexus.WA.COM>
  6. Date: 5 Nov 92 15:33:49 GMT
  7. Article-I.D.: nwnexus.1992Nov5.153349.13260
  8. References: <Bx5Gn9.M9F.2@cs.cmu.edu> <1daes1INNqse@uniwa.uwa.edu.au>
  9. Sender: sso@nwnexus.WA.COM (System Security Officer)
  10. Organization: Northwest Nexus Inc. (206) 455-3505
  11. Lines: 25
  12.  
  13. craig@ec.uwa.oz.au (Craig Richmond - division) writes:
  14.  
  15. >pjm@SPEECH.CS.CMU.EDU (Pedro J. Moreno) writes:
  16.  
  17. >>I have an IP address, and I want to know to what organization
  18. >>it corresponds.
  19.  
  20. >You could use nslookup or you could use dig as well probably.  These will
  21. >let you interogate the nameserver database to help you to find information
  22. >about the sites.
  23.  
  24.  
  25. I usually get confused about nslookup's syntax, so I look for the 'easy'
  26. ways out.  One is to use the services of netinfo.berkeley.edu on port 117
  27. via telnet (telnet netinfo.berkeley.edu 117).  Dig has proven especially
  28. useful, and is used by the folks at the NIC more than nslookup, it seems.
  29.  
  30. And then there's a 'simple' (for somebody) trick that you can use in your
  31. login profiles:
  32.  
  33.  
  34. alias ptr echo \!$ \| awk -F. \'\{printf \"set q=PTR\\n%s.%s.%s.%s.in-addr.arpa\\n\",\$4,\$3,\$2,\$1\}\' \| nslookup
  35.  
  36. (If the above lines didn't wrap right, and someone's really interested
  37. in this, let me know and I'll send it over).
  38.