In your Windows taskbar's search bar, type ‘Cmd.’ Then, enter the command ‘ipconfig/all’ into your Command Prompt and press Enter. Now, you need to find the field labeled ‘DNS Servers.’ The first address indicates the primary DNS server, and the following address functions as the secondary DNS server.