PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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