nerdexam
CompTIA

XK0-005 · Question #457

A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

The correct answer is A. nslookup. The commands nslookup or host can be used to determine whether a hostname is in the DNS. The DNS is the domain name system, which is a service that translates domain names into IP addresses and vice versa. The nslookup command is a tool for querying the DNS and obtaining…

System Management

Question

A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

Options

  • Anslookup
  • Brsyn
  • Cnetstat
  • Dhost

How the community answered

(25 responses)
  • A
    88% (22)
  • B
    8% (2)
  • C
    4% (1)

Explanation

The commands nslookup or host can be used to determine whether a hostname is in the DNS. The DNS is the domain name system, which is a service that translates domain names into IP addresses and vice versa. The nslookup command is a tool for querying the DNS and obtaining information about a domain name or an IP address. The host command is a similar tool that performs DNS lookups. Both commands can be used to check if a hostname is in the DNS by providing the hostname as an argument and seeing if the command returns a valid IP address or an error message. exist. These commands will supply the information that is needed to determine whether a hostname is in the DNS. These are the correct commands to use for this task. The other options are incorrect because they do not query the DNS or obtain information about a hostname (rsync

Topics

#Linux commands#DNS resolution#Network diagnostics

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice