nerdexam
CompTIA

CAS-002 · Question #321

The security engineer receives an incident ticket from the helpdesk stating that DNS lookup requests are no longer working from the office. The network team has ensured that Layer 2 and Layer 3…

The correct answer is D. NMAP. Verifying that a specific port is open and a service is actively listening requires a port-scanning tool, not a connectivity or name-resolution utility.

Technical Integration of Enterprise Components

Question

The security engineer receives an incident ticket from the helpdesk stating that DNS lookup requests are no longer working from the office. The network team has ensured that Layer 2 and Layer 3 connectivity are working. Which of the following tools would a security engineer use to make sure the DNS server is listening on port 53?

Options

  • APING
  • BNESSUS
  • CNSLOOKUP
  • DNMAP

How the community answered

(45 responses)
  • A
    2% (1)
  • B
    4% (2)
  • D
    93% (42)

Why each option

Verifying that a specific port is open and a service is actively listening requires a port-scanning tool, not a connectivity or name-resolution utility.

APING

PING uses ICMP echo requests to test Layer 3 reachability and provides no information about whether any specific TCP or UDP port is open.

BNESSUS

Nessus is a vulnerability scanner used for detecting security weaknesses, not a targeted tool for quickly verifying a single port's listening state.

CNSLOOKUP

NSLOOKUP sends actual DNS queries and reports resolution results, but it cannot confirm whether the DNS daemon is listening on port 53 if the service is unresponsive or misconfigured.

DNMAPCorrect

NMAP is a network port scanner that can probe a target host to determine which ports are open and which services are listening on them. Running a command such as 'nmap -p 53 <dns-server>' directly confirms whether the DNS service is bound to port 53, which is exactly what the scenario requires. No other tool listed can report on port-level listening state.

Concept tested: Using NMAP to verify service port availability

Source: https://nmap.org/book/man-port-scanning-basics.html

Topics

#NMAP#port scanning#DNS troubleshooting#network diagnostics

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice