Article View: comp.mail.misc
Article #2156Re: help on IP address
From: Craig Richmond - division
Date: Thu, 05 Nov 1992 06:27
Date: Thu, 05 Nov 1992 06:27
42 lines
2199 bytes
2199 bytes
pjm@SPEECH.CS.CMU.EDU (Pedro J. Moreno) writes:
>Again, I hope the collective knowledge will have this info.
>I have an IP address, and I want to know to what organization
>it corresponds.
>What database could I access dor this purpose??
You could use nslookup or you could use dig as well probably. These will
let you interogate the nameserver database to help you to find information
about the sites.
assuming you have the site 1.2.3 which you wish to know, you could find out
the machines in the domain and their names by doing the following
nslookup (run nslookup)
root (set server to the root name server)
ls 3.2.1.in-addr.arpa. (list the machines in this domain and name servers
for the same)
This method isn't foolproof as many machines have no reverse name lookup
information. Also, the root name server may not have any information on
this domain and you will have to find one that does.
I haven't used dig much, but I think it will do similar things.
NOTE: All these programs will get you is the name of the machine and some
idea of who is above them. You could probably achieve the same with a
small program that calls gethostbyaddr. They will not give you info on the
organisation behind the machine, but you can often hazard a guess. Another
way to find the machine name is to telnet to port 25 and then type quit.
Sendmail lists the full machine name as part of the version string it
prints when you connect (usually)
Craig
--
Craig Richmond. Computer Officer - Dept of Economics (morning) 380 3860
University of Western Australia Dept of Education (afternoon)
craig@ecel.uwa.edu.au Dvorak Keyboards RULE! "Messes are only acceptable
if users make them. Applications aren't allowed this freedom" I.M.VI 2-4
Technical Details
Message-ID:
<1daes1INNqse@uniwa.uwa.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!craigReferences:
<Bx5Gn9.M9F.2@cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!craig From: craig@ec.uwa.oz.au (Craig Richmond - division) Newsgroups: comp.mail.misc Subject: Re: help on IP address Date: 5 Nov 1992 06:27:13 GMT Organization: The University of Western Australia Lines: 42 Message-ID: <1daes1INNqse@uniwa.uwa.edu.au> References: <Bx5Gn9.M9F.2@cs.cmu.edu> NNTP-Posting-Host: decel.ecel.uwa.edu.au