Multiple choice technology operating systems

Which command is used for DNS look up?

  1. nslookup

  2. dnslookup

  3. dig

  4. lookup

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The dig command is the modern, recommended tool for performing DNS lookups and troubleshooting DNS issues due to its flexibility and detailed output. While nslookup is also used for DNS queries, it is older and considered deprecated in many Unix environments. dnslookup and lookup are not standard commands.