Article View: comp.unix.shell
Article #130Re: Help in find address
From: Kurt Hirchert
Date: Fri, 24 Jul 1992 01:07
Date: Fri, 24 Jul 1992 01:07
24 lines
1438 bytes
1438 bytes
In article <911288c.14.711834149@ace.acadiau.ca> 911288c@ace.acadiau.ca (HON (EDWIN) KIN CHUNG) writes: >Dear friends, > Would anybody help me to find out how to find out the > numerical address of the site > Like @dragon.acadiau.ca > is 179.11.12.1 > Any program to do this ,Help me Please !! > EDwin It depends on how your machines networking is set up. Here are some possibilities: nslookup dragon.acadiau.ca # ask DNS /etc/nslookup dragon.acadiau.ca # ditto - nslookup not in path /usr/etc/nslookup dragon.acadiau.ca # ditto - another place to look fgrep dragon.acadiau.ca /etc/hosts # the old-fashioned way ypcat hosts | fgrep dragon.acadiau.ca # ditto - shared under NIS ypmatch dragon.acadiau.ca hosts # ditto - more efficient NIS query With luck, one of these will work for you. -- Kurt W. Hirchert hirchert@ncsa.uiuc.edu National Center for Supercomputing Applications
Technical Details
Message-ID:
<1992Jul24.010757.21100@ncsa.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!hirchertReferences:
<911288c.14.711834149@ace.acadiau.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!hirchert From: hirchert@ncsa.uiuc.edu (Kurt Hirchert) Subject: Re: Help in find address References: <911288c.14.711834149@ace.acadiau.ca> Message-ID: <1992Jul24.010757.21100@ncsa.uiuc.edu> Originator: hirchert@pluto.ncsa.uiuc.edu Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: Nat'l Ctr for Supercomp App (NCSA) @ University of Illinois Date: Fri, 24 Jul 1992 01:07:57 GMT Lines: 24