Windows

How to find your DNS settings on your computer

How to find your DNS settings on your computer

Basic Internet troubleshooting often requires troubleshooting DNS settings on a computer. ย DNS provides the means for all the user friendly URLS we use to surf the Internet are properly translated into the IP addresses the computers and servers understand in order to direct traffic to the right place. ย There are a few ways we can find the DNS settings a computer is using as the name servers for performing this translation.

In looking under the network settings of your computer, you can easily see how DNS is being configured and what addresses (if static) it is using there. ย In order to get to your network settings, one of the quickest ways that works on most all Windows versions from XP forward is to go to a run menu and typeย ncpa.cpl which brings up the control mmc for your network connections. ย You should be able to look for the network connection that shows that it isย connectedย and find the properties of that connection.

Results of the network command – control panel network and Internet connections

dns1

 

 

Right click and go to properties

dns2

After getting the properties of the network click on “Internet Protocol Version 4 (TCP-IPv4)

dns3

 

Below you will see the IP address settings of the test workstation for example purposes. ย You will see a statically assigned IP below and the DNS server setting values. ย If you are pulling a DHCP address, which is most likely the case, you will see theย Obtain an IP address automaticallyย set as well asย Obtain DNS server address automatically

dns4

 

If you are comfortable with the command prompt, you can easily find your DNS settings withย ipconfig /allย command andย DNS serversย are listed as you see highlighted below.

dns5

 

Another very handy command that most may not be aware of is theย netsh interface IP show configย command. ย This command is great in that it shows you whether or not the values areย statically assignedย 

dns6

 

Below is a snip of the above netsh command on a workstation that is configured through DHCP.

 

dns7

 

Final Thoughts

As you can see above there are really multiple ways of finding your DNS server settings on a computer either using the Windows GUI Network connections screen or by breaking out the command prompt and using a couple of different commands to find the values.

The advantages of each can be seen above. ย The GUI of course if better for those who may not be familiar or comfortable with the command prompt and the command prompt provides a quicker and more informative view for those who maybe need more information or who prefer using the command prompt. ย The GUI method also does notย showย the DNS values if IP address settings are configured using DHCP. ย So most of the time both methods can be used in conjunction to provide a good overall picture of network settings and health.

 

 

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.