CompTIA
XK0-006 · Question #141
An administrator adds new DNS servers to the network environment. Which of the following files should the administrator modify?
The correct answer is B. /etc/resolv.conf. The /etc/resolv.conf file is used to define DNS name servers that the system uses for hostname resolution, so adding new DNS servers requires modifying this file.
Networking and Cloud Concepts
Question
An administrator adds new DNS servers to the network environment. Which of the following files should the administrator modify?
Options
- A/etc/sysctl.conf
- B/etc/resolv.conf
- C/etc/host.conf
- D/etc/nsswitch.conf
How the community answered
(66 responses)- A2% (1)
- B92% (61)
- C5% (3)
- D2% (1)
Explanation
The /etc/resolv.conf file is used to define DNS name servers that the system uses for hostname resolution, so adding new DNS servers requires modifying this file.
Topics
#DNS configuration#resolv.conf#name resolution#network files
Community Discussion
No community discussion yet for this question.