How to list hostnames stored in name server
Barry Margolin
barmar at alum.mit.edu
Mon Sep 29 05:40:12 UTC 2008
In article <gbpp29$1qp3$1 at sf1.isc.org>, Beagle <beagle197 at hotmail.com>
wrote:
> Is there a way to list the host name entries stored in a name server?
> E.g. if several A/SOA records are stored, to simply list them and
> seeing output hostname/ip entries pairs.
If you know the zones that a server hosts, and your IP is in its
allow-transfer access list, you can do:
dig <zone> axfr @<server>
for each zone.
If you don't know the zones it hosts, there's no standard mechanism for
getting the zone list remotely.
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users
mailing list