home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ames!data.nas.nasa.gov!ace.nas.nasa.gov!jns
- From: jns@ace.nas.nasa.gov (John N. Stewart)
- Subject: Re: How to find IP name knowing IP adress?
- References: <Test_News.15.725105040@uci.agh.edu.pl> <erl.725122174@powell>
- Sender: news@nas.nasa.gov (News Administrator)
- Organization: NAS, NASA Ames Research Center, Moffett Field, California
- Date: Tue, 29 Dec 92 20:12:03 GMT
- Message-ID: <1992Dec29.201203.672@nas.nasa.gov>
- Lines: 26
-
- In article <erl.725122174@powell> erl@powell.cs.jt.dk (Erik Bruijn Larsen) writes:
- >Test_News@uci.agh.edu.pl (News testing account) writes:
- >
- >
- >> For example : I have adress 149.156.96.9
- >> How to find name of machine ?
- >
- >Try typing:
- >% hostname
- >
- >If you are running NIS and want the name of another host, then type:
- >% ypcat hosts
-
-
- No no no nonononononon. :) YP doesn't always have all
- the hosts, it depends on the implementation at each site. Many folks
- have modified the resolver libraries to ignore the hosts map
- completely, especially on Sun's -- it was a hack, but many of us have
- used it.
-
- Hostname? That won't help either really, it only returns the hostname
- of the current host, or tries to set it for that host.
-
- 'das all folx!
-
- --Ace
-