dig (option C, Domain Information Groper) is a flexible DNS lookup tool. nslookup (A) is older but also works for DNS queries. dnslookup (B) and lookup (D) are not standard DNS commands. While nslookup is also valid, the question specifically asks for the command used, and dig is the preferred modern tool.