How to change the default domain controller when querying AD in a different site?

Posted by Linefeed on Server Fault See other posts from Server Fault or by Linefeed
Published on 2011-06-23T06:17:47Z Indexed on 2012/03/24 5:31 UTC
Read the original article Hit count: 494

We have 2 different locations, and at both site we have multiple domain controllers (Win2008). In our application we use Serverless Binding to execute our LDAP queries http://msdn.microsoft.com/en-us/library/ms677945(v=vs.85).aspx.

If we look at de DnsHostName of the LDAP://RootDse on site B we always get the default domain controller of site A. Therefor all LDAP queries go much slower.

Is there a way to change the default domain controller per site ?

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about active-directory