What is the easiest way to know my current DNS server's IP address or domain name? I am trying to troubleshoot my broadband Internet connection under Windows 7.
If you know your public IP address simply enter in a command prompt window:
nslookup <your public IP>
You can also specify the name server to check against by appending it to the above command.
You can get your current IP address from sites like http://whatismyip.com
echo exit | nslookup
This will show the primary DNS server domain name and IP address.
Default Server: google-public-dns-a.google.com Address: 188.8.131.52 >
Thanks to @OliverSalzburg's answer.