LPI
201-400 · 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)- A79% (19)
- B4% (1)
- C13% (3)
- E4% (1)
Community Discussion
No community discussion yet for this question.