QuestionQ79

VerifiedServices and User Management

Users cannot ping hosts on the same network segment by hostname:

# ping host1  
ping: host1: Temporary failure in name resolution  

Users can reach the hosts only by using their FQDN, such as host1.comptia.local.

A Linux administrator connects to the system and obtains the following output:

Question Image

Which action should the administrator take to fix the issue?

Explanation

A DNS search domain qualifies a single-label hostname such as host1 by appending the configured domain, producing host1.comptia.local. Because the configured DNS server already resolves the FQDN but no search domain is configured, adding comptia.local to the network configuration enables short-hostname resolution. systemd-resolved documents that search domains are used to qualify single-label hostnames into FQDNs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!