nerdexam
LPI

117-201 · Question #303

What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose TWO correct answers.)

The correct answer is A. Add nameserver 192.168.0.1 to /etc/resolv.conf. D. Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file. See the full explanation below for the reasoning.

Question

What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose TWO correct answers.)

Options

  • AAdd nameserver 192.168.0.1 to /etc/resolv.conf.
  • BRun route add nameserver 192.168.0.1.
  • CRun ifconfig eth0 nameserver 192.168.0.1.
  • DEnsure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.
  • ERun bind add nameserver 192.168.0.1.

How the community answered

(24 responses)
  • A
    75% (18)
  • B
    17% (4)
  • C
    4% (1)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice