home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sgi:17996 comp.sys.sgi.admin:9
- Newsgroups: comp.sys.sgi,comp.sys.sgi.admin
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!enterprise.den.mmc.com!beck
- From: beck@enterprise.den.mmc.com (Fred R. Beck)
- Subject: RE: system names from IP
- Message-ID: <1992Dec14.203259.15176@den.mmc.com>
- Sender: news@den.mmc.com (News)
- Nntp-Posting-Host: gate-enterprise.den.mmc.com
- Organization: Martin Marietta
- Date: Mon, 14 Dec 1992 20:32:59 GMT
- Lines: 76
-
- In article <1992Dec14.182618.3199@den.mmc.com>, you write:
- |>
- |> Does anyone know how one might be able to derive
- |> a systems hostname from it's IP address?!? RARP is
- |> similiar in function in that it is supposed to be able
- |> to derive an IP number from a physical ethernet address,
- |> however, I need to go one step further.
- |>
- |> Any help would be appreciated!
- |>
- |> P.S. The network I am operating on does not have any
- |> "open" accounts which could be used for a
- |>
- |> rsh IP# uname -n
- |>
- |> The network is also EXTREMELY heterogeneous and
- |> LARGE!
- |>
- |> Thanx!
- |>
- |> -fred
- |>
- |>
- |> ****************************************************************************
- |> Fred R. Beck :-) Martin Marietta Astronautics Group
- |> beck@enterprise.den.mmc.com P.O. Box 179
- |> (303) 971-1584 Attn. Fred Beck, M.S. L5420
- |> FAX: (303) 971-2563 Denver, Colorado 80201
- |> ****************************************************************************
- |>
-
-
- I would like to thank all who replied VERY much!! I am afraid
- that in my rush, I lost all of your addresses... Pulled an `ol
- "I am very stupid"... Anyway, thanx.
-
- And the winner was... NSLOOKUP
-
- The steps are as follows:
-
- 1) nslookup - To start up nslookup in interactive mode
- 2) set type=ptr - To change the type of information query to
- type pointer
- 3) type in the IP# in reverse order
- 4) append ".in-addr.arpa" to the result
-
- A typical session is as follows:
- % nslookup
- Default Server: mmagnet1.mmc.com
- Address: 129.243.0.1
-
- > set type=ptr
- > 115.3.243.129.in-addr.arpa
- Server: mmagnet1.mmc.com
- Address: 129.243.0.1
-
- 115.3.243.129.in-addr.arpa name = gate-enterprise.den.mmc.com
-
-
- This might be a good addition to the FAQ!! Hint, Hint...
-
- P.S. There was also an indication of a tool on archie
- called "dig" (from Leif). I did not pursue this
- due to the solution via nslookup.
-
- Thanx again to all!!
-
- -fred
-
- ****************************************************************************
- Fred R. Beck :-) Martin Marietta Astronautics Group
- beck@enterprise.den.mmc.com P.O. Box 179
- (303) 971-1584 Attn. Fred Beck, M.S. L5420
- FAX: (303) 971-2563 Denver, Colorado 80201
- ****************************************************************************
-
-