CompTIA Linux+ Powered by LPI (LX0-104) — Question 44
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
Answer options
- A. substitute
- B. nameserver
- C. search
- D. lookup
- E. method
Correct answer: B, C
Explanation
The correct answers are B and C because 'nameserver' is used to specify the DNS server addresses and 'search' is used to define the default domain search list. The other options, A, D, and E, are not valid keywords in the /etc/resolv.conf file.