PrepAway - Latest Free Exam Questions & Answers

Which statement is true regarding the following /etc/resolv.conf file?

Which statement is true regarding the following /etc/resolv.conf file?

search example.com
127.0.0.1
208.77.188.166

A.
There is a syntax error

B.
If DNS queries to the localhost fail, the server 208.77.188.166 will be queried

C.
example.com will be appended to all host lookups

D.
The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion

E.
The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried

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.

Keywords must be at the start of the line, IP addresses are not allowed as keywords.

Example:
domain server.com
search server.com
nameserver 10.0.0.1
nameserver 192.168.0.1


Leave a Reply