home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5868 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.8 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!news.media.mit.edu.!saus
  2. From: saus@media.mit.edu (Mark Sausville)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: How to use nslookup to go from IP address to name?
  5. Message-ID: <SAUS.92Jul24085956@bijou.media.mit.edu>
  6. Date: 24 Jul 92 13:59:56 GMT
  7. References: <1992Jul24.104122.9943@nntpd.lkg.dec.com>
  8. Sender: news@news.media.mit.edu (USENET News System)
  9. Distribution: comp
  10. Organization: M.I.T. Media Laboratory
  11. Lines: 37
  12. In-Reply-To: coar@Nephi.Enet.DEC.Com's message of Fri, 24 Jul 1992 11:37:59 GMT
  13.  
  14. In article <1992Jul24.104122.9943@nntpd.lkg.dec.com> coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size) writes:
  15.  
  16.    From: coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size)
  17.    Organization: Digital Equipment Corp.
  18.    Date: Fri, 24 Jul 1992 11:37:59 GMT
  19.    Lines: 14
  20.  
  21.      This may be a FAQ, in which case please accept my apologies; I've just
  22.      added this group.
  23.  
  24.      How can I use nslookup to translate an IP address into a fully-qualified
  25.      host name?  It will do the reverse, but any time I feed it an address, it
  26.      just parrots it back to me.
  27.  
  28. This is how it's done.
  29.  
  30.      <#1 bijou:/u/saus>nslookup
  31.     Default Server:  localhost.media.mit.edu
  32.     Address:  127.0.0.1
  33.  
  34.     > set qu=any
  35.     > 18.0.85.18.in-addr.arpa
  36.     Server:  localhost.media.mit.edu
  37.     Address:  127.0.0.1
  38.  
  39.     18.0.85.18.in-addr.arpa    host name = bijou.media.mit.edu
  40.  
  41. In other words, tell nslookup that query type is "any" then give it
  42. the address in reverse byte order appending "in-addr.arpa".  This has
  43. to do with how reverse mappings are managed by named.
  44.  
  45.                                 M.
  46.  
  47. Mark Sausville                           MIT Media Laboratory
  48.                           Room E15-473
  49. 617-253-0325                             20 Ames Street
  50. saus@media.mit.edu                       Cambridge, MA 02139
  51.