By default, Windows and Office clients discover KMS hosts via DNS and a related _vlmcs SRV record.
Run a command line similar to the following to get this information
nslookup -type=srv _vlmcs._tcp > C:\kms.txt
Thanks for reading! You can follow me on Twitter @PrigentNico