A system administrator has set up a new DNS server to manage domain resolution within the company's internal network. After configuring the DNS server, the administrator needs to verify that the correct IP address is being returned when querying the company's main internal website. Which command is BEST to use on a Windows workstation to verify that the DNS server is resolving the domain name to the correct IP address?
The nslookup command is used to query DNS servers to obtain domain name or IP address mapping as well as other DNS records. By running this command, the system administrator can check if the internal DNS server is mapping the domain name to the correct IP address. The ping command would only verify connectivity to a domain but wouldn't necessarily validate the DNS server's resolution. dig is also a DNS lookup utility, but it is not available on Windows operating systems whilenslookup is. Using tracert would help trace the path to the destination but does not directly check DNS resolution.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the nslookup command do?
Open an interactive chat with Bash
How does DNS resolution work?
Open an interactive chat with Bash
What are the differences between nslookup and dig?