LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2009, 07:59 AM   #1
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Rep: Reputation: 38
Question 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?
 
Old 02-19-2009, 08:25 AM   #2
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
dig any @authoritative somedomain?
 
Old 02-19-2009, 08:39 AM   #3
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Nope. That did not work.
 
Old 02-19-2009, 09:19 AM   #4
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
Quote:
Originally Posted by the_gripmaster View Post
Nope. That did not work.
Great. Posting that is worth about as much as not posting any reply at all.
 
Old 02-19-2009, 09:31 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try the host command

Code:
 host -a google.com
 
Old 02-19-2009, 09:38 AM   #6
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by repo View Post
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?
 
Old 02-19-2009, 09:45 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
perhaps the -av option
Did you looked at man host, or man dig ?
 
Old 02-19-2009, 11:48 AM   #8
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by repo View Post
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.
 
Old 02-19-2009, 12:03 PM   #9
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
nslookup
ls -d
 
Old 02-20-2009, 09:40 AM   #10
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
$ man nslookup
...
ls not implemented
...
 
Old 02-20-2009, 10:07 AM   #11
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Ooops yes, windows' nslookup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind DNS Server - answer a few records for another domain? humbletech99 Linux - Server 15 06-21-2010 02:15 AM
A problem querying a different DNS server AmdMhz Linux - Newbie 5 11-26-2008 10:59 AM
Spoofing MX records without querying DNS rubanek Linux - Networking 1 06-02-2008 01:56 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration