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

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

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

A.
order hosts, bind

B.
192.168.168.4 dns-server

C.
hosts: files,dns

D.
domain mycompany.com

Explanation:
nsswitch.conf – System Databases and Name Service Switch configuration file
This file specifies how services look for specific data like Mail aliases, Groups of users, hosts, protocols or services. For each "database" the lookup paths are specified. In this example for hosts the system would look first in /etc/hosts before asking a dns server for the information.

A) would indicate /etc/host.conf
B) would indicate /etc/hosts
D) would indicate /etc/resolv.conf



Leave a Reply 0

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