To do a DNS lookup in a Windows computer, go to Start, then Run, and type command to open the command prompt. Type nslookup and hit Enter. Your search will bring back information about your local DNS default server and IP address.
https://www.whatismyip.com/dns-lookup/#:~:text=To%20do%20a%20DNS%20lookup,default%20server%20and%20IP%20address.