Which Windows command queries the DNS name servers and retrieves information about the target host addresses, name servers, mail exchanges, etc.?

Prepare for the Certified Ethical Hacker Version 11 Exam with a comprehensive test featuring flashcards and multiple choice questions, each accompanied by hints and explanations to ensure a thorough understanding. Ace your ethical hacking exam with confidence!

Multiple Choice

Which Windows command queries the DNS name servers and retrieves information about the target host addresses, name servers, mail exchanges, etc.?

Explanation:
This question is about using a Windows tool to pull DNS information for a target. The Windows command that queries DNS servers and returns the records you need is nslookup. It can reveal host addresses (A/AAAA records), the authoritative name servers (NS records), and mail exchangers (MX records) for a domain. You can perform simple lookups by typing the domain name to get the default A record, or change the record type (for example, set type=MX) to fetch mail server information. You can also specify a particular DNS server to query, which is useful for testing or troubleshooting DNS delegation. Other tools mentioned aren’t focused on DNS queries in the Windows environment: dig is a DNS querying tool more common on Unix-like systems; Showmount deals with NFS exports; VRFY is an SMTP command used to verify addresses, not DNS.

This question is about using a Windows tool to pull DNS information for a target. The Windows command that queries DNS servers and returns the records you need is nslookup. It can reveal host addresses (A/AAAA records), the authoritative name servers (NS records), and mail exchangers (MX records) for a domain. You can perform simple lookups by typing the domain name to get the default A record, or change the record type (for example, set type=MX) to fetch mail server information. You can also specify a particular DNS server to query, which is useful for testing or troubleshooting DNS delegation.

Other tools mentioned aren’t focused on DNS queries in the Windows environment: dig is a DNS querying tool more common on Unix-like systems; Showmount deals with NFS exports; VRFY is an SMTP command used to verify addresses, not DNS.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy