DCLocator is an implementation of the Active Directory Domain Controller lookup protocol documented on https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/8ebcf782-87fd-4dc3-8585-1301569dfe4f
This tool cross compiles on Windows and Linux