How To Manually Set DNS Server(s) On A windows 7
Sometimes you may want to use a different DNS server then the one that is handed out from your networks DHCP server. You can manually set this and the search domain in Microsoft Windows 7 by adjusting your network card settings. In this tutorial we will walk through manually setting DNS servers in Windows 7.
Click on the start button > Control Panel
Click on the Network and Sharing Center
Note: You can change the view of control panel from categories to small or large icons by clicking on the drop down for View By: (upper right)
Click Change Adapter Settings (located on the left pane)
Find your network adapter. Today most PC will have at least two network cards (WI-FI and Ethernet)
Right Click the network card and select Properties
Highlight internet protocol version 4 (TCP/Ipv4) by click once on it
Click the radio button Use the following DNS server addresses
Enter the IP addresses of the DNS servers you wish to use. In this example I am using my internal DNS server at IP address 192.168.96.2.
Click on Advanced button
Click on The DNS tab
Click on the radio button Append these DNS suffixes (in order):
Enter the domain suffix.
If you followed the tutorial Seven Easy Steps To Setting Up An Interal DNS Server On Ubuntu, I set my domain to linux.rocks.
Note: If you don't add a suffix here when connecting or pinging a device you will have to use the fully quailifed domain name. Example: ping server01.linux.rocks
Click OK again
We now have every thing configured and need to test our changes. Let's open a DOS window and try and ping a device that is defined on the new DNS server settings.
Hit CTRL + R
Note: This will bring up a run window
Enter cmd and hit OK
We can now try and ping a device. In this example I am goind to try and ping server01.
You can see I am getting results and it was able to ping without having to enter the fully quilifed domain name. It appears everything is working as it should.
Hope you found this helpful!