Certified Ethical Hacker (CEH v10) — Question 152

Which of the following Linux commands will resolve a domain name into IP address?

Answer options

Correct answer: A

Explanation

The correct answer is A, as the command 'host -t a' specifically queries for the A record, which provides the IP address associated with the domain. Options B, C, and D request other types of DNS records (NS, SOA, and AXFR respectively), which do not return the domain's IP address.