Which command displays a Windows host's IP address and DNS server settings at the command prompt?
Choose an answer
Tap an option to check your answer.
Correct answer: ipconfig /all.
Why this is the answer
The ipconfig /all command on a Windows host displays comprehensive TCP/IP configuration details, including the IP address, subnet mask, default gateway, DNS server addresses, MAC address, and DHCP server information. This is crucial for troubleshooting network connectivity issues. "show interface" is a Cisco IOS command used on routers and switches, not Windows hosts. "netstat -r" displays the routing table on a Windows host but not the IP address or DNS server settings. "ifconfig -a" is a command used on Linux/Unix-like operating systems to display network interface information, not Windows.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed