home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!news.u.washington.edu!uw-beaver!uw-coco!nwnexus!ralphs
- From: ralphs@halcyon.com (Ralph Sims)
- Newsgroups: comp.mail.misc
- Subject: Re: help on IP address
- Message-ID: <1992Nov5.153349.13260@nwnexus.WA.COM>
- Date: 5 Nov 92 15:33:49 GMT
- Article-I.D.: nwnexus.1992Nov5.153349.13260
- References: <Bx5Gn9.M9F.2@cs.cmu.edu> <1daes1INNqse@uniwa.uwa.edu.au>
- Sender: sso@nwnexus.WA.COM (System Security Officer)
- Organization: Northwest Nexus Inc. (206) 455-3505
- Lines: 25
-
- craig@ec.uwa.oz.au (Craig Richmond - division) writes:
-
- >pjm@SPEECH.CS.CMU.EDU (Pedro J. Moreno) writes:
-
- >>I have an IP address, and I want to know to what organization
- >>it corresponds.
-
- >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.
-
-
- I usually get confused about nslookup's syntax, so I look for the 'easy'
- ways out. One is to use the services of netinfo.berkeley.edu on port 117
- via telnet (telnet netinfo.berkeley.edu 117). Dig has proven especially
- useful, and is used by the folks at the NIC more than nslookup, it seems.
-
- And then there's a 'simple' (for somebody) trick that you can use in your
- login profiles:
-
-
- alias ptr echo \!$ \| awk -F. \'\{printf \"set q=PTR\\n%s.%s.%s.%s.in-addr.arpa\\n\",\$4,\$3,\$2,\$1\}\' \| nslookup
-
- (If the above lines didn't wrap right, and someone's really interested
- in this, let me know and I'll send it over).
-