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?

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



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Mdu

Mdu

D
domain mycompany.com