From the Start menu, type "command" or "command" into the search bar in your Windows taskbar. After that, enter the IPCONFIG/all command and press Enter. The first field will be the primary DNS server, while the second field will be the secondary DNS server.