panaonestop.blogg.se

Are 3 domain controllers overkill in company of 100
Are 3 domain controllers overkill in company of 100






are 3 domain controllers overkill in company of 100

The following is a (hopefully temporary) way of getting at least the DNSName of each DC, or more info if the user is willing to exclude offline DCs and wait for their timeouts: public static IEnumerable GetDomainControllersForDomain(string domainDnsName, string username, string password, bool waitForConnection = true) I can obtain the DC's DNSName without connecting to the DCs directly, but if I try to use an LDAP request to obtain the other info, there is a long delay (as expected) until the request times out. I need to populate this list to include DCs that are offline/disconnected.Ĭurrently, I use System.DirectoryServices to get the list of domain controllers.

are 3 domain controllers overkill in company of 100

Objective: I need to obtain a list of all domain controllers in a given domain and populate the following details about each (at the minimum):








Are 3 domain controllers overkill in company of 100