Question: how to get kdc hostname?
Answer: From the command line, enter the following command: nslookup -type=srv _kerberos._tcp.REALM. ...  Look up the KDCs for each realm against which users authenticate and the realm of the Authentication Server.