LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Querying a DNS server for ALL records (https://www.linuxquestions.org/questions/linux-general-1/querying-a-dns-server-for-all-records-705899/)

the_gripmaster 02-19-2009 07:59 AM

Querying a DNS server for ALL records
 
I would like to query (the authoritative) DNS server of a domain for all the records (A, CNAME, MX). I mean using a single command like (*) to fetch every record. Is this possible? If so, how?

******* 02-19-2009 08:25 AM

dig any @authoritative somedomain?

the_gripmaster 02-19-2009 08:39 AM

Nope. That did not work.

******* 02-19-2009 09:19 AM

Quote:

Originally Posted by the_gripmaster (Post 3449653)
Nope. That did not work.

Great. Posting that is worth about as much as not posting any reply at all.

repo 02-19-2009 09:31 AM

try the host command

Code:

host -a google.com

the_gripmaster 02-19-2009 09:38 AM

Quote:

Originally Posted by repo (Post 3449703)
try the host command

Code:

host -a google.com

Well, that did not work either. From this commands, the outputs that I expected should have included things like:

maps IN A ....
translate IN A ...

But these were missing in the output. I guess then it's not possible?

repo 02-19-2009 09:45 AM

perhaps the -av option
Did you looked at man host, or man dig ?

the_gripmaster 02-19-2009 11:48 AM

Quote:

Originally Posted by repo (Post 3449723)
perhaps the -av option
Did you looked at man host, or man dig ?

Well, checked out the man pages. They are barren regarding this issue.

nx5000 02-19-2009 12:03 PM

nslookup
ls -d

the_gripmaster 02-20-2009 09:40 AM

$ man nslookup
...
ls not implemented
...

nx5000 02-20-2009 10:07 AM

Ooops yes, windows' nslookup


All times are GMT -5. The time now is 08:57 AM.