nerdexam
CompTIA

SK0-003 · Question #795

A server administrator needs to determine if DNS is working properly. Which of the following commands would accomplish this task on a Windows-based system?

The correct answer is C. nslookup. To diagnose DNS functionality on a Windows system, the nslookup command is specifically used to query DNS servers for information about domain names and IP addresses.

Troubleshooting

Question

A server administrator needs to determine if DNS is working properly. Which of the following commands would accomplish this task on a Windows-based system?

Options

  • Anbtstat
  • Btraceroute
  • Cnslookup
  • Dipconfig

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    90% (43)
  • D
    2% (1)

Why each option

To diagnose DNS functionality on a Windows system, the nslookup command is specifically used to query DNS servers for information about domain names and IP addresses.

Anbtstat

nbtstat is used to display NetBIOS over TCP/IP protocol statistics and the NetBIOS name cache, not DNS resolution.

Btraceroute

traceroute (or tracert on Windows) is used to display the route and measure transit delays of packets across an IP network, which is for network path testing, not DNS functionality.

CnslookupCorrect

The nslookup command allows administrators to query DNS servers directly, resolving hostnames to IP addresses or vice versa, thereby confirming if DNS resolution is functioning correctly. It provides detailed information about DNS records and the DNS server being used.

Dipconfig

ipconfig displays current TCP/IP network configuration values and can refresh DHCP and DNS settings, but it does not directly test DNS resolution by performing queries.

Concept tested: DNS troubleshooting commands (Windows)

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup

Topics

#DNS troubleshooting#nslookup#command-line tools#Windows commands

Community Discussion

No community discussion yet for this question.

Full SK0-003 Practice