Retrieves the primary domain controller for the given domain or current machine.