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 Windows Icon (Bottom Left) > 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 On Network and Sharing Center

 

 

Click Change Adapter Settings (located on the left pane)

 

 

Click on Change adapter settiings (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

 

 

Right click on your network card and select Properties

 

 

Highlight internet protocol version 4 (TCP/Ipv4) by click once on it

Click properties

 

 

Highlight Internet Protocol Version 4 (TCP/IPv4) > Click Properties

 

 

Click the radio button Use the following DNS server addresses

 

 

Click the Use the following DNS server addresss

 

 

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

 

Enter the IP address of the DNS server you wish to use.

 

 

Click on The DNS tab

 

 

Click on the DNS tab

 

 

Click on the radio button Append these DNS suffixes (in order):

 

 

Click Append these DNS suffices (in order) radio button

 

 

Append these DNS suffixes (in order): radio button checked

 

Click Add

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

 

Add your domain suffix

 

Click Add

Click Ok

 

 

Click Ok to apply the changes

 

 

Click OK again

 

 

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

 

 

Hit CTRL + R to bring up the run window, then enter cmd and hit enter

 

 

We can now try and ping a device. In this example I am goind to try and ping server01.

 

 

Ping an internal DNS entry

 

 

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. 

 

 

 

Ping results successful

 

 

Hope you found this helpful!