GSEC · Question #194
Which of the following tools is used to query the DNS servers to get detailed information about IP addresses, MX records, and NS servers?
The correct answer is B. NSLOOKUP. NSLOOKUP is the standard command-line utility for querying DNS servers and retrieving DNS records such as A, MX, and NS records.
Question
Which of the following tools is used to query the DNS servers to get detailed information about IP addresses, MX records, and NS servers?
Options
- ANBTSTAT
- BNSLOOKUP
- CPING
- DNETSTAT
How the community answered
(27 responses)- A15% (4)
- B70% (19)
- C7% (2)
- D7% (2)
Why each option
NSLOOKUP is the standard command-line utility for querying DNS servers and retrieving DNS records such as A, MX, and NS records.
NBTSTAT queries NetBIOS over TCP/IP statistics and name tables, not DNS records.
NSLOOKUP (Name Server Lookup) is designed specifically to query DNS servers interactively or in batch mode, allowing retrieval of detailed DNS information including IP address mappings, mail exchanger (MX) records, and name server (NS) records.
PING tests network reachability and round-trip latency to a host using ICMP echo requests; it does not query DNS record types like MX or NS.
NETSTAT displays active TCP connections, listening ports, and network statistics for the local machine; it does not query DNS servers.
Concept tested: DNS query tool identification - NSLOOKUP
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup
Topics
Community Discussion
No community discussion yet for this question.