nerdexam
LPI

102-350 · Question #153

You have a file /etc/resolv.conf, but the computer does not use the configured DNS servers to look up host names. What is most likely the problem?

The correct answer is A. The hosts entry in your /etc/nsswitch.conf does not list dns. See the full explanation below for the reasoning.

Question

You have a file /etc/resolv.conf, but the computer does not use the configured DNS servers to look up host names. What is most likely the problem?

Options

  • AThe hosts entry in your /etc/nsswitch.conf does not list dns.
  • BYou do not have a /etc/named.conf file.
  • CThe localhost hostname is not properly configured in /etc/hosts.
  • DThe named daemon is not running on your computer.

How the community answered

(42 responses)
  • A
    71% (30)
  • B
    7% (3)
  • C
    5% (2)
  • D
    17% (7)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice