XK0-006 · Question #144
Users are unable to ping hosts on the same network segment using their hostname: # ping host1 ping: host1: Temporary failure in name resolution Users are only able to reach the hosts when using…
The correct answer is B. Add the search domain to the network configuration. The system can resolve fully qualified domain names but fails when resolving short hostnames because no DNS search domain is configured. Adding the appropriate search domain allows the resolver to automatically append the domain to short hostnames during name resolution.
Question
Users are unable to ping hosts on the same network segment using their hostname:
ping host1 ping: host1: Temporary failure in name resolution Users are only able to reach the hosts when using their FQDN, such as host1.comptia.local. A Linux administrator connects to the system and obtains the following output:
Which of the following actions should the administrator take to resolve the issue?
Exhibit
Options
- AAdd host1.comptia.local. to /etc/hosts.allow
- BAdd the search domain to the network configuration
- CAdd another DNS server entry to /etc/resolv.conf
- DAdd a DNS A record for the specific hosts
How the community answered
(20 responses)- A5% (1)
- B75% (15)
- C5% (1)
- D15% (3)
Explanation
The system can resolve fully qualified domain names but fails when resolving short hostnames because no DNS search domain is configured. Adding the appropriate search domain allows the resolver to automatically append the domain to short hostnames during name resolution.
Topics
Community Discussion
No community discussion yet for this question.
