Solved

How do you display all A records for a domain?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now