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…
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)- A88% (22)
- B8% (2)
- C4% (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
Community Discussion
No community discussion yet for this question.