The tool is written based on FindAllDiscoverableDomainControllers method. The Method will not provide complete list of domain controllers for a specific domain , rather provides random list of Domain controllers which are reachable.
This tool is an attempt to validate the use of the FindAllDiscoverableDomainControllers method.
Usage : Applications can take advantage of querying the closest Domain controller and perform the tasks of authentication, rather querying for static domain controller.
Please download the file and rename to executable
Enter AD Domain Name: contoso.com
List of Domain Controllers which are closest to the user logged in AD Site