Which of the following commands on a Windows OS should list both the IP address and DNS servers as learned with DHCP?
- ifconfig
- ipconfig
- ifconfig /all
- ipconfig /all
Explanation: Windows supports both ipconfig and ipconfig /all commands, but the ipconfig command does not mention the DNS servers. Note that the ifconfig command works on Linux and macOS, and the ifconfig /all command is an invalid command.
Please login or Register to submit your answer