Find Domain Name Of Linux Server. It used my local DNS cache server to query information. Cat etcresolvconf OR less etcresolvconf.
Ive seen some people checking for the existence of etckrb5keytab but it seems to me that that is only indicative if the machine has ever been joined. A hostname show or set the systems host name. Dig is an acronym for Domain Information Groper.
Another way is to use the following grep command.
Follow these steps once your VM is up and running. Under DNS name label enter the prefix you want to use. It was intended to be a tool for diagnosing DNS issues. Use the same format as above to find subdomain records information.