XK0-005 · Question #672
response. Which of the following files should the administrator check first?
The correct answer is A. /etc/resolv.conf. '/etc/resolv.conf' is the primary DNS client configuration file. It specifies the nameserver IP addresses the system uses for DNS resolution. If DNS lookups are failing or slow, this is the first file to check to verify that valid, reachable nameservers are configured…
Question
response. Which of the following files should the administrator check first?
Options
- A/etc/resolv.conf
- B/etc/hosts
- C/etc/sysconfig/network-scripts
- D/etc/nsswitch.conf
How the community answered
(65 responses)- A91% (59)
- B2% (1)
- C6% (4)
- D2% (1)
Explanation
'/etc/resolv.conf' is the primary DNS client configuration file. It specifies the nameserver IP addresses the system uses for DNS resolution. If DNS lookups are failing or slow, this is the first file to check to verify that valid, reachable nameservers are configured. '/etc/hosts' provides static hostname-to-IP mappings but is checked before DNS and would not explain general DNS failures. '/etc/sysconfig/network-scripts' contains interface configuration. '/etc/nsswitch.conf' controls the order of name resolution methods (files, DNS, etc.) and would be a secondary check.
Topics
Community Discussion
No community discussion yet for this question.