How to Find My Primary DNS Server on My Computer

Written by grant d. mckenzie
  • Share
  • Tweet
  • Share
  • Email

Every computer connected to the Internet has an Internet Protocol (IP) address. Since computers speak in numbers, these IP addresses are sets of numbers, like "" The Dynamic Name System (DNS) transforms the numerical IP address into an associated alphabetic name, such as "," which is easier to use, understand and remember. Computers connected to the Internet are usually connected through a DNS server. To find the IP address of your primary or secondary DNS server in MS Windows, you need to use the command prompt.

Skill level:
Moderately Easy


  1. 1

    Open the "Start" menu and select "All Programs." Alternatively, you can open the "Start" menu and select "Run."

  2. 2

    Select "Accessories" followed by "Command Prompt." Using the alternative method, type "cmd" (without quotation marks) into the text box that appeared and click "OK."

  3. 3

    Type "ipconfig /all" (without quotation marks) at the command prompt and press "Enter."

  4. 4

    Scroll through the listing that is displayed and find your primary DNS server. If a primary server is not listed and only "DNS Server" appears in the list, you most likely have a dynamic IP address, which means it can change every time you access the Internet. This is common among some Internet service providers. In this case, you have to contact the provider or search its website to find the range of servers it uses as DNS servers.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.