nerdexam
CompTIA

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.

Troubleshooting

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

XK0-006 question #144 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)
  • A
    5% (1)
  • B
    75% (15)
  • C
    5% (1)
  • D
    15% (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

#DNS search domain#name resolution#resolv.conf#FQDN

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice