Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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,471 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…

809 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