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)- A75% (18)
- B17% (4)
- C4% (1)
- E4% (1)
Community Discussion
No community discussion yet for this question.