CompTIA Network+ (N10-007) — Question 379
A network technician is troubleshooting a connectivity issue with Joe, a user. Joe has reported that when he attempts to RDP to machine1 (192.168.21.21) by name, he is connected to machine3 (192.168.21.23). When the network technician runs the command nslookup machine1, it returns the IP address
192.168.21.23; but when the ping `"a 192.168.21.23 command is run, the results return the hostname machine3. Which of the following DNS records should be updated to allow RDP connections to machine1 by hostname?
Answer options
- A. A
- B. SRV
- C. PTR
- D. TXT
Correct answer: A
Explanation
The correct answer is A because an A record maps a hostname to an IP address, and in this case, the record for machine1 needs to be updated to point to the correct IP address (192.168.21.21). The other options, such as SRV and PTR records, serve different purposes; SRV records are for service location and PTR records are used for reverse DNS lookups, neither of which would resolve the issue of connecting via RDP using the hostname.