CompTIA
XK0-006 · Question #63
A systems administrator needs to set the IP address of a new DNS server. Which of the following files should the administrator modify to complete this task?
The correct answer is B. /etc/resolv.conf. The /etc/resolv.conf file defines DNS resolver settings, including the IP addresses of DNS servers that the system should use for hostname resolution.
Networking and Cloud Concepts
Question
A systems administrator needs to set the IP address of a new DNS server. Which of the following files should the administrator modify to complete this task?
Options
- A/etc/whois.conf
- B/etc/resolv.conf
- C/etc/nsswitch.conf
- D/etc/dnsmasq.conf
How the community answered
(25 responses)- B96% (24)
- C4% (1)
Explanation
The /etc/resolv.conf file defines DNS resolver settings, including the IP addresses of DNS servers that the system should use for hostname resolution.
Topics
#resolv.conf#DNS configuration#nameserver#network files
Community Discussion
No community discussion yet for this question.