nerdexam
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)
  • A
    2% (1)
  • B
    92% (61)
  • C
    5% (3)
  • D
    2% (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.

Full XK0-006 Practice