nerdexam
CompTIA

SK0-005 · Question #334

A technician is working on a Linux server and is trying to access another server over the network. The technician gets server not found messages when trying to execute ping servername but no error…

The correct answer is A. Configure the domain search variable. The domain search variable is used to specify a list of domains that are appended to a hostname when resolving it. If the servername is not fully qualified, the resolver will try each domain in the list until it finds a match or fails. By configuring the domain search variable…

Troubleshooting

Question

A technician is working on a Linux server and is trying to access another server over the network. The technician gets server not found messages when trying to execute ping servername but no error messages when using ping servername.domain.com. Which of the following should the technician do to resolve the error?

Options

  • AConfigure the domain search variable.
  • BChange the permissions on resolv.conf.
  • CConfigure the DNS address.
  • DModify nsswitch.conf.

How the community answered

(23 responses)
  • A
    78% (18)
  • B
    13% (3)
  • C
    4% (1)
  • D
    4% (1)

Explanation

The domain search variable is used to specify a list of domains that are appended to a hostname when resolving it. If the servername is not fully qualified, the resolver will try each domain in the list until it finds a match or fails. By configuring the domain search variable, the technician can avoid typing the full domain name every time they want to ping a server.

Topics

#DNS Resolution#Linux Networking#/etc/resolv.conf#Hostname Resolution

Community Discussion

No community discussion yet for this question.

Full SK0-005 Practice