How to Find Your Primary & Secondary DNS

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
A few simple commands will reveal your primary and secondary DNS.

The Domain Name System (DNS) is essentially the telephone book of the Internet. This service is what guides your computer to a website when you type the, for instance--into your Internet browser. If you did not have a DNS server directing your Internet, you would have to manually enter the IP address of every website you wanted to visit. DNS servers, like all servers on the Internet, have a fixed IP address as well, and finding that address is quite simple.


Step 1

Click the Start menu and select "Run."

Video of the Day

Step 2

Type "cmd" into the text box that appears and press "Enter."

Step 3

Type "cd/" into the command prompt window that appears, then press "Enter."


Step 4

Type "C:>ipconfig /all" and press "Enter." This will present a screen full of information, including the primary and secondary DNS server addresses down near the bottom, which look like a series of numbers separated by dots as in, for example.





Report an Issue

screenshot of the current page

Screenshot loading...