CompTIA
XK0-004 · Question #219
XK0-004 Question #219: Real Exam Question with Answer & Explanation
The correct answer is C: /etc/nsswitch.conf. Linux Changing DNS Search Order Under Linux you need to use /etc/nsswitch.conf file which is used by system databases and Name Service Switch configuration file. Open /etc/nsswitch.conf file using text editor: # vi /etc/nsswitch.conf hosts: files dns mdns4 Set above order as per
Question
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?
Options
- A/etc/resolv.conf
- B/etc/hosts
- C/etc/nsswitch.conf
- D/etc/dhcpd.conf
Explanation
Linux Changing DNS Search Order Under Linux you need to use /etc/nsswitch.conf file which is used by system databases and Name Service Switch configuration file. Open /etc/nsswitch.conf file using text editor: # vi /etc/nsswitch.conf hosts: files dns mdns4 Set above order as per your requirement. Close and save the file.
Community Discussion
No community discussion yet for this question.