name server

Jaye Mathisen mathisen at dali.cs.montana.edu
Mon Sep 10 18:55:16 AEST 1990


In article <90252.231430TOMIII at MTUS5.BITNET> TOMIII at MTUS5.BITNET (Thomas Dwyer III) 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?) ?

To find the hostname for IP address 1.2.3.4:

% nslookup

> set type=ptr

> 4.3.2.1.in-addr.arpa


will do the trick...  Assuming the .in-addr.arpa tables have been set
up appropriately...



More information about the Comp.unix.admin mailing list