Listing of Zones on DNS server

  • Thread starter Thread starter cdcalo
  • Start date Start date
C

cdcalo

I need a way to get a listing of all the zones on an
external DNS server where my zones are kept. Is there a
utility available that I can query an external dns server
and have it show me or print out all the zones it is
currently SOA for? I do not necessarily need all the
records in each zone but just the zones.

thanks,

cdcalo
 
Well, it depends on how diligent the DNS administrator is. If they've
properly configured the server/zones, you will not be able to list the zones
unless they've authorized your IP for zone transfer. Try:
dnscmd the_name_or_IP_of_The_DNS_Server /EnumZones

--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 
Deji,

Thanks for the info - as a test I decided to try this
command on our local dns server. Yet the dnscmd command I
use says use this command:

dnscmd server ip GetZoneInfo

Yet - when I do this command I get a message back stating
Command successfully completed yet no data. So I put >
zone.txt at the end. Same thing, but a file is created
that says Command Successfully completed. Do you know
where the zone info is going?

I have admin rights to our local dns server and I am
logged into the same domain as the dns server.

thanks,
Cdcalo
 
it is /EnumZones not GetZoneInfo. Also try dnscmd /?

--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
Deji,

Thanks for the info - as a test I decided to try this
command on our local dns server. Yet the dnscmd command I
use says use this command:

dnscmd server ip GetZoneInfo

Yet - when I do this command I get a message back stating
Command successfully completed yet no data. So I put >
zone.txt at the end. Same thing, but a file is created
that says Command Successfully completed. Do you know
where the zone info is going?

I have admin rights to our local dns server and I am
logged into the same domain as the dns server.

thanks,
Cdcalo
 
Back
Top