Solved

When pinging my domain it is randomly picking remote domain controllers to ping to not my local domain controller

Posted on 2010-08-13
7
1,452 Views
Last Modified: 2012-05-10
I have around 24 domain controllers in our domain.  When I ping the domain it will ping any of the remote domain controllers not the local one.  If I do an ipconfig /flushdns and ping the domain again I will hit a different remote domain controller.  What could be causing the issue when pinging the domain it not pinging the local server?
0
Comment
Question by:ntccps
7 Comments
 
LVL 4

Expert Comment

by:ebooyens
ID: 33429767
Odd, what DNS server is the client set to?  I would start by making sure the local DHCP server is configured to set the preferred local DC as the primary DNS server
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33429795
Try this:  Open a command prompt, and start 'nslookup'
type in your full domain name, and hit return.  NSLookup should do a DNS query and return all the domain controllers for your top level domain.  It isn't site aware, and when you do a 'ping <domain>' -- DNS returns an entry in a round-robin (more or less random) way... you receive the IP address for a random server.
0
 
LVL 11

Expert Comment

by:MichaelVH
ID: 33429800
How is your DNS configured? (have you got an outprint from your ipconfig /all)?

Michael
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33429837
If you want to see what domain controller your machine is really trying to authenticate to, run another command prompt, and run:
'nltest /dsgetdc:<domain>'

For more information on how domain controllers are found, look here: http://support.microsoft.com/kb/247811
In brief, the workstation makes a query looking for LDAP SRV entries, and queries all of them via LDAP.  THEN it tries to optimize to find the local one...

But just pinging the domain will return a random IP address for any server in a round-robin fashion.
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33429916
Oops... change that last line from:
"But just pinging the domain will return a random IP address for any server in a round-robin fashion."
to
"But just pinging the domain will return a random IP address for any DC in a round-robin fashion."
sorry
0
 

Author Comment

by:ntccps
ID: 33432034
OK so it should come back with a random sites IP?
I did the 'nltest /dsgetdc:<domain>' and it shows DC: as the local server.
0
 
LVL 30

Accepted Solution

by:
Rich Weissler earned 500 total points
ID: 33432209
Yes, ping only queries DNS for a single entry, so DNS perform a round-robin lookup against all the address possible.  All the possible addresses would be returned by nslookup <domain.name>.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question