home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 15050 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.2 KB  |  38 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ames!data.nas.nasa.gov!ace.nas.nasa.gov!jns
  3. From: jns@ace.nas.nasa.gov (John N. Stewart)
  4. Subject: Re: How to find IP name knowing IP adress?
  5. References: <Test_News.15.725105040@uci.agh.edu.pl> <erl.725122174@powell>
  6. Sender: news@nas.nasa.gov (News Administrator)
  7. Organization: NAS, NASA Ames Research Center, Moffett Field, California
  8. Date: Tue, 29 Dec 92 20:12:03 GMT
  9. Message-ID: <1992Dec29.201203.672@nas.nasa.gov>
  10. Lines: 26
  11.  
  12. In article <erl.725122174@powell> erl@powell.cs.jt.dk (Erik Bruijn Larsen) writes:
  13. >Test_News@uci.agh.edu.pl (News testing account) writes:
  14. >
  15. >
  16. >> For example : I have adress 149.156.96.9
  17. >> How to find name of machine ?
  18. >
  19. >Try typing:
  20. >% hostname
  21. >
  22. >If you are running NIS and want the name of another host, then type:
  23. >% ypcat hosts
  24.  
  25.  
  26. No no no nonononononon. :) YP doesn't always have all
  27. the hosts, it depends on the implementation at each site. Many folks
  28. have modified the resolver libraries to ignore the hosts map
  29. completely, especially on Sun's -- it was a hack, but many of us have
  30. used it.
  31.  
  32. Hostname? That won't help either really, it only returns the hostname
  33. of the current host, or tries to set it for that host.
  34.  
  35. 'das all folx!
  36.  
  37. --Ace
  38.