SUMMARY: Get all names associated with a numeric IP address

From: Jim Winkle <jwinkle_at_doit.wisc.edu>
Date: Thu Nov 14 2002 - 11:11:03 EST
I asked how to display all of the names associated with an IP address.

The executive summary is, unfortunately, "No can do".

Basically, you'd have to search all DNS, since it's possible for anyone
to create a DNS entry that maps a random name to your IP address. Even
if you just limit your search to your own DNS, most admins setup DNS
to use 1 reverse name per IP number, so you'll just get the one.

I wasn't getting anything with `ls -a' (except "Unspecified error")
because the DNS disallows ls queries for security reasons (again, it
sounds like most admins setup DNS this way).

If one has access to the zone files, grep is your friend. Excuse me
while I take my hostmaster out to lunch....

Thanks to Casper Dik, Brooke King, Marcus Groff, Kevin Metzger, Galen Johnson,
Patrick McDermott, Guy B. Purcell, Mike Marcell, Michael Grice, Candace Ordaz,
and Andrew J Caines for your quick (and consistent) responses.

-- Jim

-----Original Message-----
> Here's an easy one, I hope....
>
> Given a numeric IP address, how do I display all of the names that resolve
> to this address? I would think that nslookup could do this, but I can't
> figure out how to do it.
>
> Looks like:
>     > ls -a
> ought to do the trick, but I always get an "Unspecified error" (gee,
> that's helpful).
>
> Solaris 8, for what it's worth.

--
Jim Winkle, UNIX System Administrator, UW-Madison, DoIT. Contact info:

BioComp: help_at_biocomp.doit.wisc.edu http://www-biocomp.doit.wisc.edu/
Other:   jwinkle_at_doit.wisc.edu      http://jwinkle.doit.wisc.edu/

Or use 264-HELP for help with services, 262-9507 to reach me directly.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Nov 14 11:20:27 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:58 EST