ntccps
asked on
When pinging my domain it is randomly picking remote domain controllers to ping to not my local domain controller
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?
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
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.
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.
How is your DNS configured? (have you got an outprint from your ipconfig /all)?
Michael
Michael
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.
'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.
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
"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
ASKER
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.
I did the 'nltest /dsgetdc:<domain>' and it shows DC: as the local server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.