LPI Exam Questions

Which TWO of the following need to be done on a client machine to use this DNS server?

A DNS server has the IP address 192.168.0.1. Which TWO of the following need to be done on a
client machine to use this DNS server?

A.
Add nameserver 192.168.0.1 to /etc/resolv.conf

B.
Run route add nameserver 192.168.0.1

C.
Run ifconfig eth0 nameserver 192.168.0.1

D.
Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file

E.
Run bind add nameserver 192.168.0.1

Explanation:

See http://en.wikipedia.org/wiki/Resolv.conf and http://en.wikipedia.org/wiki/Name_Service_Switch