LPI Exam Questions

What file determines the DNS servers used by your computer?

What file determines the DNS servers used by your computer?

A.
/etc/hosts

B.
/etc/named.conf

C.
/etc/nsswitch.conf

D.
/etc/resolv.conf

Explanation:
From http://en.wikipedia.org/wiki/Resolv.conf:
resolv.conf is the name of a computer file used in various operating systems to configure the Domain Name System (DNS) resolver library. The file is a plain-text file usually created by the network administrator or by applications that manage the configuration tasks of the system.

A) contains DNS entries
B) is the configuration file for the DNS server
C) is the file telling the lookup service where to look