nerdexam
LPI

117-010 · Question #85

Which command shows, amongst other information, the IP address of the current DNS server for a Linux system?

The correct answer is D. cat /etc/resolv.conf. See the full explanation below for the reasoning.

Question

Which command shows, amongst other information, the IP address of the current DNS server for a Linux system?

Options

  • Acat /etc/net/dns.conf
  • Bifconfig -v dns
  • Cshow net dns
  • Dcat /etc/resolv.conf
  • Ecat /etc/net/nameserver.conf

How the community answered

(59 responses)
  • A
    3% (2)
  • B
    2% (1)
  • C
    3% (2)
  • D
    80% (47)
  • E
    12% (7)

Community Discussion

No community discussion yet for this question.

Full 117-010 Practice