Lpi Linux Essentials 010 160 · Free Practice Question Easy

Question 10

Which of the following commands can be used to resolve a DNS name to an IP address?
  • A dns
  • B query
  • C host
  • D iplookup
Reveal correct answer

Correct answer: C

Explanation

OBJ-4.4: The host command is used for DNS (Domain Name System) lookup operations. It is used to find the IP address of a particular domain name or the domain name of a particular IP address. Nslookup and dig are also commands that can be used to lookup a domain name and convert it to an IP address within a Linux system.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need