Solved

How do you display all A records for a domain?

Posted on 2008-06-24
4
785 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SBS 20011 to Office 365 7 89
Can't remote with RDC through ASUS RT-N66W Router 3 67
OSPF Cost 2 57
DNS Config for External Mail 3 7
A few months ago I attended the Rocky Mountain IPv6 Summit which was a two-day educational event; it was the 3rd annual conference held here in Denver, Colorado that was held at the Hyatt Regency Denver at the Colorado Convention Center. It was an e…
If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
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…

803 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