nerdexam
LPI

102-500 · Question #32

What is the purpose of the dig command?

The correct answer is A. It can be used as a tool for querying DNS servers. dig (Domain Information Groper) is a command-line tool for querying DNS servers, making A correct - you use it to look up DNS records such as A, MX, NS, CNAME, and TXT records for a domain. Option B describes tools like grep or locate, which search file content, not DNS. Option…

Networking Fundamentals

Question

What is the purpose of the dig command?

Options

  • AIt can be used as a tool for querying DNS servers.
  • BIt can be used for searching through indexed file content.
  • CIt can be used to look for open ports on a system.
  • DIt can be used to ping all known hosts on the current subnet

How the community answered

(66 responses)
  • A
    74% (49)
  • B
    17% (11)
  • C
    3% (2)
  • D
    6% (4)

Explanation

dig (Domain Information Groper) is a command-line tool for querying DNS servers, making A correct - you use it to look up DNS records such as A, MX, NS, CNAME, and TXT records for a domain. Option B describes tools like grep or locate, which search file content, not DNS. Option C describes port-scanning tools like nmap or netstat. Option D describes the behavior of ping with broadcast or tools like fping, not dig.

Memory tip: Think of dig as "digging up DNS dirt" - whenever you need to investigate what a domain resolves to or which nameservers handle it, dig is your shovel.

Topics

#DNS#dig command#DNS queries#network diagnostics

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice