PrepAway - Latest Free Exam Questions & Answers

Which of the following lines would you find in the file /etc/resolv.conf?

Which of the following lines would you find in the file /etc/resolv.conf?

A.
order hosts,bind

B.
192.168.168.4 dns-server

C.
hosts: files,dns

D.
domain mycompany.com

Explanation/Reference:
From the man pages:
The resolver configuration file contains information that is read by the resolver routines the first time they are invoked by a process. The file is designed to be human readable and contains a list of keywords with values that provide various types of resolver information.

The following keywords are allowed in /etc/resolv.conf:
nameserver
domain
search
sortlist
options

One Comment on “Which of the following lines would you find in the file /etc/resolv.conf?


Leave a Reply