A network administrator is investigating a database connection issue on a host machine. The administrator needs to query the designated internal DNS server at directly for the record `db1.corp.internal` rather than relying on local resolver cache settings, and also inspect all active TCP socket connections along with listening ports on the local system. Which of the following command-line entries will successfully achieve these goals? (Select TWO)
- Run `nslookup db1.corp.internal 10.0.0.53` to direct the name resolution query to the specific internal server.Answer
- BRun `dig -x 10.0.0.53 db1.corp.internal` to perform a forward A record query against the internal server.
- Run `netstat -an` to display all active connections and numerical port bindings.Answer
- DRun `arp -a 5432` to view active socket state information and TCP port bindings.
Answer
The correct actions are running `nslookup db1.corp.internal 10.0.0.53` to query the specific DNS server directly and running `netstat -an` to inspect active socket connections and listening ports numerically.
Directing an `nslookup` request to a specific server IP address (such as `nslookup db1.corp.internal 10.0.0.53`) bypasses local DNS caches to query that server directly. Additionally, `netstat -an` provides a detailed list of all listening ports and established socket connections using numerical IP addresses and port numbers.
Step-by-Step Solution
Key Concept
Utilizing command-line network utilities (`nslookup`, `netstat`, `dig`, `arp`) for protocol inspection and reachability troubleshooting.