Which of the following lines would you find in the file /etc/hosts?

Which of the following lines would you find in the file /etc/hosts?

Which of the following lines would you find in the file /etc/hosts?

A.
order hosts, bind

B.
192.168.168.4 dns-server

C.
hosts: files,dns

D.
domain mycompany.com

Explanation:
This file is a simple text file that associates IP addresses with hostnames, one line per IP address. For each host a single line should be present with the following information: IP_address canonical_hostname [aliases…]

A) /etc/host.conf
C) /etc/nsswitch.conf
D) /etc/resolv.conf



Leave a Reply 0

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