We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


Dig to verify forwarders?

Medium Priority
Last Modified: 2012-08-13
Is it possible to use dig to verify that forwarders on DCs are working?

I ask because once in a while some folks can't get to the internet and I don't always want to have to log onto the DC to verify they are working.

Any way I can do this from my workstation using DIG?
Watch Question

Top Expert 2013
I use nslookup for this
So from your client machine if you want to test a particular DC
> nslookup
>server <ip address>
then run your query
I know you asked about DIG and I'm sure that will get a response too.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Most Valuable Expert 2019
Most Valuable Expert 2018
You can actually already pass the DNS server to use in nslookup's command line as second argument, which saves a couple of keystrokes (and can be used in a batch script for automatic testing several forwarders):
nslookup www.experts-exchange.com <DNS server IP>
If you got multiple forwarders you can't predict whitch one will handle the query that you forward.

Run a "dcdiag /test:dns /v" from a DC and it will test the forwarders.



Ok I did the dcdiag but it says Error: "Forwarders list has invalid forwarder: xx.xx.xx.xx"

But its not an invalid forwarder. These are what we use.

Any explanation?
Do you forward to the root-hints or your ISP DNS and how many forwarders do you use?



We don't forward to the root hints. The IPS in the forwards are external DNS servers.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.