Prepare for the CompTIA Cloud+ Test. Utilize flashcards and multiple choice questions, with hints and explanations for each question. Ensure your readiness for success in this certification exam.

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which command is specifically used to resolve DNS name queries?

  1. dig

  2. tcpdump

  3. ping

  4. nslookup

The correct answer is: dig

The command that is specifically used to resolve DNS name queries is "dig". This command, short for "domain information groper," is a powerful tool that allows users to query DNS (Domain Name System) servers for information about domain names. It provides detailed results about DNS records, aiding in troubleshooting and verifying DNS configurations. When using dig, users can retrieve various types of DNS records such as A records, MX records, and NS records, among others. This makes it particularly useful for network administrators and anyone needing to diagnose DNS issues or check domain name resolutions. While "nslookup" is also a command used for DNS queries, it is more of a legacy tool and has limited functionality compared to dig. "tcpdump" is a packet analysis tool that captures network traffic, which does not directly resolve DNS queries. "Ping" is used to check the reachability of a host on a network and can indirectly verify DNS resolution by converting a hostname into an IP address, but it does not query the DNS records themselves. Overall, the use of dig is specifically tailored for resolving DNS queries with greater detail and flexibility than the other options.