Solved

How do you display all A records for a domain?

Posted on 2008-06-24
4
786 Views
Last Modified: 2008-07-05
I need to find out all public DNS records for a domain.  I have tried several differnt sites that have tools but I cannot seem to be able to get all records for a particular domain.  Say I need to get all the records for test.com how would i do that without already knowing the host names.  If I query for the host name server.test.com it returns the record but if  i query for all records for test.com I get the name of their names servers and that is it.
0
Comment
Question by:jdflory
4 Comments
 
LVL 2

Expert Comment

by:DynamicBits
ID: 21862359
I'm pretty sure the answer that applies to you is "you can't." DNS servers aren't typically set up this way for security reasons.

You can try the following:

host -al test.com dns.test.com

The first argument is the domain you are trying to look up. dns.test.com is the dns server for the domain you are looking up. Most likely, you are going to get an error like "Transfer failed" because you do not have permission.
0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 21863601

> I'm pretty sure the answer that applies to you is "you can't."

I want to support that one :)

You can't I'm afraid.

Permission to list all records requires permission to transfer the zone. You will find very very few servers that permit that kind of operation against zones they're authoritative for.

Chris
0
 
LVL 2

Accepted Solution

by:
litmuslogic earned 250 total points
ID: 21884155
Jd, have you tried using reverse lookups.  For example, let's say I know that www.litmuslogic.com translates to (for example) 10.10.10.1.  Well, if I nslookup 10.10.10.1, it will resolve (if DNS is configured correctly) to www.litmuslogic.com.  So now, I could write a shell script, or a command script, very easy, that will loop through 10.10.10.1-254 and do the reverse lookups.  This is a bit brute force, and of course you'd never know if you have the information for the entire zone, but you might get a lot of hits.
0
 

Author Comment

by:jdflory
ID: 21937631
Thanks alot guys,

I
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell knowledge 2 53
CENTOS DHCP Server / PXE/TFTP 14 155
E-mail delayed during DNS server reboot 8 51
DNS.exe on Azure 2 23
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
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…
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…

860 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