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

  1. Path: sparky!uunet!munnari.oz.au!uniwa!craig
  2. From: craig@ec.uwa.oz.au (Craig Richmond - division)
  3. Newsgroups: comp.mail.misc
  4. Subject: Re: help on IP address
  5. Date: 5 Nov 1992 06:27:13 GMT
  6. Organization: The University of Western Australia
  7. Lines: 42
  8. Message-ID: <1daes1INNqse@uniwa.uwa.edu.au>
  9. References: <Bx5Gn9.M9F.2@cs.cmu.edu>
  10. NNTP-Posting-Host: decel.ecel.uwa.edu.au
  11.  
  12. pjm@SPEECH.CS.CMU.EDU (Pedro J. Moreno) writes:
  13.  
  14. >Again,   I hope the collective knowledge will have this info.
  15.  
  16. >I have an IP address, and I want to know to what organization
  17. >it corresponds.
  18.  
  19. >What database could I access dor this purpose??
  20.  
  21. You could use nslookup or you could use dig as well probably.  These will
  22. let you interogate the nameserver database to help you to find information
  23. about the sites.
  24.  
  25. assuming you have the site 1.2.3 which you wish to know, you could find out
  26. the machines in the domain and their names by doing the following
  27.  
  28. nslookup    (run nslookup)
  29. root        (set server to the root name server)
  30. ls 3.2.1.in-addr.arpa.    (list the machines in this domain and name servers
  31.                          for the same)
  32.  
  33. This method isn't foolproof as many machines have no reverse name lookup
  34. information.  Also, the root name server may not have any information on
  35. this domain and you will have to find one that does.
  36.  
  37. I haven't used dig much, but I think it will do similar things.
  38.  
  39. NOTE:  All these programs will get you is the name of the machine and some
  40. idea of who is above them.  You could probably achieve the same with a
  41. small program that calls gethostbyaddr.  They will not give you info on the
  42. organisation behind the machine, but you can often hazard a guess.  Another
  43. way to find the machine name is to telnet to port 25 and then type quit.
  44. Sendmail lists the full machine name as part of the version string it
  45. prints when you connect (usually)
  46.  
  47. Craig
  48.  
  49. --
  50. Craig Richmond.  Computer Officer -  Dept of Economics (morning) 380 3860
  51.   University of Western Australia    Dept of Education (afternoon)
  52. craig@ecel.uwa.edu.au Dvorak Keyboards RULE!  "Messes are only acceptable
  53. if users make them.  Applications aren't allowed this freedom" I.M.VI 2-4
  54.