Which of the following statements is valid in the file /etc/resolv.conf?
A. order hosts,bind
B. 192.168.168.4 dns-server
C. hosts: files,dns
D. domain example.com
Explanation:
One Comment on “Which of the following statements is valid in the file /etc/resolv.conf?”
Mahonisays:
The file resolv.conf typically contains directives that specify the default search domains; used for completing a given query name to a fully qualified domain name when no domain suffix is supplied. It also contains a list of IP addresses of nameservers available for resolution. An example file is:
The file resolv.conf typically contains directives that specify the default search domains; used for completing a given query name to a fully qualified domain name when no domain suffix is supplied. It also contains a list of IP addresses of nameservers available for resolution. An example file is:
search example.com local.lan
nameserver 127.0.0.1
nameserver 172.16.1.254
nameserver 172.16.2.254
nameserver 192.168.137.2
2
0