home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.uwyo.edu!rtravsky
- From: rtravsky@news.uwyo.edu (Rich Travsky)
- Newsgroups: comp.unix.ultrix
- Subject: Re: How to use nslookup to go from IP address to name?
- Message-ID: <1992Jul24.083727.77@news.uwyo.edu>
- Date: 24 Jul 92 15:37:27 GMT
- Article-I.D.: news.1992Jul24.083727.77
- References: <1992Jul24.104122.9943@nntpd.lkg.dec.com>
- Distribution: comp,world
- Organization: Banzai Institute
- Lines: 27
-
- In article <1992Jul24.104122.9943@nntpd.lkg.dec.com>, coar@Nephi.Enet.DEC.Com
- (Rodent of Unusual Size) writes:
- >
- > How can I use nslookup to translate an IP address into a fully-qualified
- > host name? It will do the reverse, but any time I feed it an address, it
- > just parrots it back to me.
- >
- > #ken :-)} Jeratol the Chaotic
- >
- The "classic" hack for this is to reverse the order of the IP number
- sets and add "in-addr.arpa". So to find the host name of 123.456.0.666,
-
-
- > set q=any
- > 666.0.456.123.in-addr.arpa
- Server: blah.blah
- Address: NNN.NNN.NNN.NNN
-
- 666.0.456.123.in-addr.arpa name = beast.hoo-hah.hell
- >
-
- The set q=any must be done first, or you'll get an "unspecified error".
-
- Richard Travsky
- Division of Information Technology RTRAVSKY @ CORRAL.UWYO.EDU
- University of Wyoming (307) 766 - 3663 / 3668
- "Screaming. A lot of dramatic situations begin with screaming." Barbarella
-