CompTIA Linux+ (XK0-004) — Question 134

An administrator needs to change the DNS domain search order of a single Linux host to localize it better. Which of the following files should the administrator edit?

Answer options

Correct answer: C

Explanation

The correct answer is C, /etc/nsswitch.conf, because this file is responsible for determining the order of name resolution services. The other options do not directly control the DNS search order: A is for DNS resolver configuration, B is for local hostname mapping, and D is for DHCP server settings.