DIG tells you which server returned the results. Look for the SERVER
line, should be third from the bottom. If you want to query specific
nameservers directly, use dig like this:
dig @ns1.myserver domainname.com
dig @ns2.myserver domainname.com
etc, etc.
-Ken
----- Message from Rudi@xxxxxxxxxxx ---------
Date: Mon, 07 Jul 2008 17:25:58 +0200
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Reply-To: CentOS mailing list <centos@xxxxxxxxxx>
Subject: how do I find out which nameserver returns a DNS query?
To: CentOS mailing list <centos@xxxxxxxxxx>
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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
----- End message from Rudi@xxxxxxxxxxx -----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos