home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!news.media.mit.edu.!saus
- From: saus@media.mit.edu (Mark Sausville)
- Newsgroups: comp.unix.ultrix
- Subject: Re: How to use nslookup to go from IP address to name?
- Message-ID: <SAUS.92Jul24085956@bijou.media.mit.edu>
- Date: 24 Jul 92 13:59:56 GMT
- References: <1992Jul24.104122.9943@nntpd.lkg.dec.com>
- Sender: news@news.media.mit.edu (USENET News System)
- Distribution: comp
- Organization: M.I.T. Media Laboratory
- Lines: 37
- In-Reply-To: coar@Nephi.Enet.DEC.Com's message of Fri, 24 Jul 1992 11:37:59 GMT
-
- In article <1992Jul24.104122.9943@nntpd.lkg.dec.com> coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size) writes:
-
- From: coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size)
- Organization: Digital Equipment Corp.
- Date: Fri, 24 Jul 1992 11:37:59 GMT
- Lines: 14
-
- This may be a FAQ, in which case please accept my apologies; I've just
- added this group.
-
- 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.
-
- This is how it's done.
-
- <#1 bijou:/u/saus>nslookup
- Default Server: localhost.media.mit.edu
- Address: 127.0.0.1
-
- > set qu=any
- > 18.0.85.18.in-addr.arpa
- Server: localhost.media.mit.edu
- Address: 127.0.0.1
-
- 18.0.85.18.in-addr.arpa host name = bijou.media.mit.edu
-
- In other words, tell nslookup that query type is "any" then give it
- the address in reverse byte order appending "in-addr.arpa". This has
- to do with how reverse mappings are managed by named.
-
- M.
-
- Mark Sausville MIT Media Laboratory
- Room E15-473
- 617-253-0325 20 Ames Street
- saus@media.mit.edu Cambridge, MA 02139
-