nerdexam
CompTIA

XK0-004 · Question #204

A Linux administrator tries to ping a hostname in a network but receives the message: hostname not . The administrator is sure the name exists on the network and wants to verify if the DNS server is f

The correct answer is B. /etc/resolv.conf. conf is resolver configuration file for Linux and UNIX like operating systems. It is used to configure dns name servers. The file /etc/resolv. conf file contains information that is read by the resolver routines the first time they are invoked by a process.

Server Side & Network Concepts

Question

A Linux administrator tries to ping a hostname in a network but receives the message: hostname not . The administrator is sure the name exists on the network and wants to verify if the DNS server is found correctly configured on the client. Which of the following files should the administrator use to verify this information?

Options

  • A/etc/named.conf
  • B/etc/resolv.conf
  • C/etc/nsswitch.conf
  • D/etc/network

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    88% (28)
  • C
    3% (1)
  • D
    3% (1)

Explanation

conf is resolver configuration file for Linux and UNIX like operating systems. It is used to configure dns name servers. The file /etc/resolv. conf file contains information that is read by the resolver routines the first time they are invoked by a process.

Topics

#/etc/resolv.conf#DNS client configuration#name resolution

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice