Solved

Looking up a DNS ZONE file

Posted on 2004-09-13
4
298 Views
Last Modified: 2010-04-11
How can I lookup the contents of a DNS ZONE file?
0
Comment
Question by:BuddhaNature
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 12047361
Several ways:

1) On the server hosting the DNS zone, look at the zone file wherever it is stored

2) Use a tool such as dig (Domain Information Groper) to examine the information about the zone

The viability of these options does depend on a lot of factors, such as what platform DNS is hosted on and what options are in the name server as far as foreign hosts getting access to the zone. You haven't bothered to really describe anything about the environment involved, so this answer is fairly general. If you want specific information, well, you need to provide specific descriptions of the platforms and environment involved. We're Experts, not mindreaders.
0
 
LVL 1

Author Comment

by:BuddhaNature
ID: 12047523
I want to see the ZONE file for a domain that is not hosted by me nore do I know the specifics of the technology at the hosting facility. I basically want a reliable list of all the records (A, CNAME, MX, etc.) for the domain.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12047853
OK, if you're legit, why not simply write to the DNS hosting provider and request a copy of the zone file?

Most nameservers do not permit unfettered transfer of zone information. They'll answer specific queries about the zone, but they are rarely going to be configured to permit a wholesale zone transfer to an unauthorized/unauthenticated host (that means you, evidently).

You can try a tool like dig, available as part of the bind package (http://www.isc.org/index.pl?/sw/bind/). Download it and you can just build that one tool. Or find a pre-compiled binary/RPM/whatever appropriate to your platform. If the nameserver is reasonably secure, tho, dig will not be permitted to do a wholesale transfer of the zone.
0
 
LVL 16

Accepted Solution

by:
JammyPak earned 500 total points
ID: 12048523
nslookup
> set type=any
>domain.com

that will show you all the records...which I guess is all you're looking for?
0

Featured Post

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question