FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-07-2008, 03:25 PM
Rudi Ahlers
 
Default how do I find out which nameserver returns a DNS query?

Hi all

If I do a "dig mydomain.co.za" from a Linux server, how do I know which
DNS nameserver returns the queries?


I seem to have a faulty DNS server, but can't see which one, so I want
to find out which nameserver (if there's 4 - ns1.myserver, ns2.myserver,
ns3.myserver & ns4.myserver) returns the queries?


--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web: http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-07-2008, 03:28 PM
Ray Van Dolson
 
Default how do I find out which nameserver returns a DNS query?

On Mon, Jul 07, 2008 at 05:25:58PM +0200, Rudi Ahlers wrote:
> Hi all
>
> If I do a "dig mydomain.co.za" from a Linux server, how do I know which DNS
> nameserver returns the queries?
>
> I seem to have a faulty DNS server, but can't see which one, so I want to
> find out which nameserver (if there's 4 - ns1.myserver, ns2.myserver,
> ns3.myserver & ns4.myserver) returns the queries?

Towards the end of the output there should be a ;; SERVER: line that
will tell you.

But you should probably just force the query to go to each of your
listed servers and figure out which one is bad that way:

dig @ns1.myserver query
dig @ns2.myserver query
etc

Ray
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 06:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org