Matt Mossholder on 12 Jan 2009 13:42:19 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] slightly off topic: Reverse IP domain lookup

----- "Jon Bringhurst" <> wrote:

> Unfortunately, it's not a simple task. A simple reverse dns lookup
> will only return an PTR record for the IP. To find all A
> and CNAME records, you'd need access to the dns server the domain is
> hosted off of. You might have some luck with a little command line
> tool known as "dig".
> -Jon

It's actually worse than that, if you want to look across domains. You would need to check all the domains that might point to the IP, which theoretically, is "all of them" :)

If you have appropriate access to the system via DNS, you can dump out domains with nslookup or dig (e.g. the "ls" command in nslookup). Another option is to grep the zone files on the server.

     --Matt Mossholder 

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --