possible to do COMPLETE A record (and CNAME) reverse lookup?

Kevin Darcy kcd at daimlerchrysler.com
Thu Jul 11 20:24:48 UTC 2002


falconer21 at hotmail.com wrote:

> is there a way to make a list of all A records (and CNAMEs pointing to
> them) from an ip address? i've spent hours searching thru old posts
> and on the web and i can't find this anywhere. i know that if i start
> with a known CNAME, i can see the chain of CNAMEs that leads to the ip
> address, but i can't do it backwards; all i can get is 1 A record (i
> think this is the correct term) for an IP.
>
> i'm a newbie to DNS, and from the researching i've done, i've worked
> out that there are 2 ways to make more than one name (not sure about
> the diff between hostnames and domain names) point to the same ip
> address: having multiple A records pointing to the same address, and
> having CNAME records pointing to a single A record.
>
> i'm trying to catalogue ALL the names of addresses in the ip range
> used by my network. we tried to keep a database as the names were
> registered, but people are lazy and haven't been updating it. i hope
> i've given enough info and this makes sense, and that this is the
> right group for this question.

There is no standardized way to do this. What I do is maintain an
LDAP database in parallel with our DNS database, which stores, among
other things, the canonical-to-alias name mappings.


- Kevin




More information about the bind-users mailing list