🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.admin
Article #9

Re: system names from IP

#9
From: Andrew Cherenson
Date: Tue, 15 Dec 1992 02:17
37 lines
1524 bytes
In article <JACKR.92Dec14175813@dblues.wpd.sgi.com> jackr@wpd.sgi.com (John "Jack" Repenning) writes:
>In article <1992Dec14.172453.26933@den.mmc.com> beck@enterprise.den.mmc.com (Fred R. Beck) writes:
>
>   Has anyone out there ever tried to resolve a system name
>   from an IP number?
>
>It turns out to be even easier than one other responder suggests.
>I've never seen documentation that admits this (so it's probably
>totally unofficial), but every version of nslookup I've ever tried
>will accept:
>
>	nslookup <<EOF
>	set q=ptr
>	$1
>	EOF
>
>That is, you don't need the shell-game to reverse the address and add
>"in-addr.arpa".

nslookup takes command-line options. For example,

    % nslookup -q=ptr 192.48.153.1
    Server:  sgi
    Address:  0.0.0.0

    1.153.48.192.in-addr.arpa       name = SGI.COM

When using nslookup on IRIX and other systems using BIND 4.8.3, nslookup
treates IP addresses specially when the query type is A (the default).
For example:

    % nslookup 192.48.153.1
    Server:  sgi
    Address:  0.0.0.0

    Name:    SGI.COM
    Address:  192.48.153.1
Technical Details
Message-ID: <tk0qf9s@sgi.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!sgiblab!sgigate!sgi!xingping.esd.sgi.com!arc

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.admin
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!sgiblab!sgigate!sgi!xingping.esd.sgi.com!arc
From: arc@xingping.esd.sgi.com (Andrew Cherenson)
Subject: Re: system names from IP
Message-ID: <tk0qf9s@sgi.sgi.com>
Sender: arc@xingping.esd.sgi.com
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Tue, 15 Dec 1992 02:17:01 GMT
Lines: 38