步骤1.右键点击网络状态通知图标，然后选择打开网络和共享中心。
Step1. Right-click on the network status notification icon and choose to Open the Network and Sharing Center from the context menu.

步骤2：然后在网络共享中心的左侧点击更改网络适配器。
Step 2. Then click on the Change adapter settings hyperlink on the left-hand side of the Network and Sharing Center.

提示：您也可以在开始菜单的搜索或者运行栏目，输入：ncpa.cpl，进入设置界面。Note: as a quick shortcut to get to this point, you can type ncpa.cpl into the Start Menu’s search or Run box.

步骤3：鼠标右键单击要更改DNS设置的网络适配器属性。
Step 3. Now right-click on the network adapter you wish to change the DNS settings for and select properties from the context menu.

步骤4：打开网络适配器属性，选择Internet协议4 (TCP / IPv4)点击属性。
Step 4. When the properties for your network adapter open, you will need to select Internet Protocol Version 4 (TCP / IPv4) from the list, then click properties.

举例说明：打开IPV4设置，您会看到时自动获取DNS和手动指定DNS服务器。选择手动指指定DNS服务器。输入我们提供的首选DNS和备用DNS。
Our example will have opened the IPv4 settings for your network adapter. You will see in the bottom half of the dialog that your PC is set to get its DNS settings "automatically". You will need to change that so that we can manually specify the DNS servers we want to use. Now simply choose a service below and enter the DNS server addresses.

Google DNS

OpenDNS

我们现在选择使用Google DNS-不用担心他们用这些数据来跟踪我们的浏览习惯和个人隐私。
We opted to go with Google DNS for now — while they could use this data to track your browsing habits, personally we're not that worried about it.

步骤5：在常规选项卡中，选择"自动获取IP地址"并"使用下面DNS服务器地址"。您可以输入Google DN和OpenDNS。然后点击确认。DNS地址就设置完成了。
Step 5. Under General Tab, select "Obtain an IP address automatically" and Use the following DNS server address. You can now put the Google DNS or Open DNS then OK.

Windows 7, 8,10的设置方法都是相同的。
This should work in Windows 7, 8, or 10 the same way