The dig command stands for Domain Information Groper. This command is used for task related to DNS lookup to query DNS name servers. It mainly deals with troubleshoot DNS related problems.
To find record for a particular domain use dig command followed by the domain name.
Look at the above snaphsot, it displays domain name in the answer section.