Link to home
Start Free TrialLog in
Avatar of jdflory
jdflory

asked on

How do you display all A records for a domain?

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.
Avatar of DynamicBits
DynamicBits
Flag of United States of America image

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.
Avatar of Chris Dent

> 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
ASKER CERTIFIED SOLUTION
Avatar of litmuslogic
litmuslogic
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jdflory
jdflory

ASKER

Thanks alot guys,

I