[comp.archives] [comp.unix.admin...] Re: name server

karl_kleinpaste@cis.ohio-state.edu (09/11/90)

Archive-name: host/10-Sep-90
Original-posting-by: karl_kleinpaste@cis.ohio-state.edu
Original-subject: Re: name server
Archive-site: tut.cis.ohio-state.edu [128.146.8.60]
Archive-directory: /pub
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

tomiii@mtus5.bitnet writes:
   Does anyone know how to obtain the hostname of a machine given the IP
   address using a name server (the nslookup feature of unix?) ?

host(1) is better for 99+% of the usual queries you want to make,
including automatic in-addr.arpa queries when given a dotted quad, no
need to do special "query=ptr" things.

| [78] [10:41am] giza:/n/giza/0/karl> host 128.146.8.60
| Name: tut.cis.ohio-state.edu
| Address: 128.146.8.60
| Aliases:
| 
| [79] [10:42am] giza:/n/giza/0/karl> host 128.146.0.0
| Name: net.ohio-state.edu
| Address: 128.146.0.0
| Aliases:
| 
| [80] [10:42am] giza:/n/giza/0/karl> host -a tut.cis.ohio-state.edu.
| tut.cis.ohio-state.edu  1395 IN A       128.146.8.60
| tut.cis.ohio-state.edu  86400 IN        HINFO   pyramid-98x     unix
| tut.cis.ohio-state.edu  86400 IN        MX      100 tut.cis.ohio-state.edu
| tut.cis.ohio-state.edu  86400 IN        WKS     128.146.8.60 udp 42 tftp sunrpc
| tut.cis.ohio-state.edu  86400 IN        WKS     128.146.8.60 tcp ftp telnet smtp nameserver sunrpc
| Additional information:
| tut.cis.ohio-state.edu  1395 IN A       128.146.8.60

You can pick it up as tut.cis.ohio-state.edu:pub/nameserver/host.[1c].
Chuck Hedrick/Rutgers is responsible for it.

--karl