
in daily network use, many people will encounter problems such as slow loading of web pages, failure of domain name resolution or inaccessibility of specific websites. At this time, changing the host DNS can often effectively solve such network failures. As a bridge between domain names and Internet Protocol Addresses, a suitable DNS server can greatly improve network stability and access speed. This article will explain the complete process of changing the host DNS from preparation work, multi-scenario operation steps, verification methods and precautions, and help users with different needs to complete the operation smoothly.
before the formal operation to change the host DNS, be fully prepared to avoid operational errors and ensure smooth network switching.
1, screening reliable public DNS servers
there are many well-known public DNS on the market to choose from, such as domestic Alibaba Cloud DNS, Tencent Cloud DNS, foreign Google DNS, Cloudflare DNS, etc. Users can choose according to their own needs, domestic users prefer domestic public DNS, can improve the speed of domestic website access, pay attention to privacy protection can choose to support encrypted DNS server, select to confirm the accuracy of the server address, to avoid input errors.
2, record the original DNS server information
before changing the host DNS, be sure to record the DNS server address currently in use. You can enter ipconfig /all query through the command prompt, or view it in the network settings. Keep the original information to prevent network failure after the change, and restore it to the original settings in time to avoid long-term disconnection affecting the use.
Windows is currently the most widely used desktop operating system, and mastering the steps to change the host DNS under this system can solve the network optimization needs of most users.
1, enter the network configuration through the settings panel
open the Windows Settings panel, click Network and Internet, WLAN or Ethernet in turn, select the corresponding option according to the network type currently used, find and click Change Adapter option, right-click the network you are using in the pop-up network connection list, select Properties Options to enter the configuration interface.
2, manually set the new DNS server address
in the network properties interface, find the Internet Protocol version 4 option, double-click to enter the property settings, select Use the following DNS server address, in the preferred DNS server and alternate DNS server bar, respectively, enter the public DNS address selected in advance, click OK to save the settings after the input is completed, you can complete the Windows system to change the host DNS operation.
Mac the operating logic of the system is different from Windows, the following describes the specific process of changing the host DNS under the system.
1, enter the network preferences interface
click on the Apple icon in the upper left corner of the screen, select System Settings Options, find Network Options in the Settings list and click to enter the details interface of the current network connection, and click the Advanced button in the lower right corner to see the configuration page containing DNS settings.
2, add and set up a new DNS server
in the DNS tab of the advanced settings, click the plus button in the lower left corner, enter the selected public DNS address, you can add multiple DNS server addresses, and the system will give priority to the address in the front in order. After adding, you can delete the original unnecessary DNS address, and finally click the good button to save the settings to complete the Mac system to change the host DNS operation.
change the host DNS is not the end of the operation, but also need to verify whether the settings take effect, and do a good job of troubleshooting common problems.
1, verify whether the DNS settings are valid
can enter the nslookup command through the command prompt or end point to query the resolution information of any domain name, check whether the returned DNS server address is the address just set, or directly access the website that was loaded slowly before to test whether the access speed is improved. If the resolution information is consistent with the set DNS and the network access returns to normal, it means that the change of host DNS has been successfully effective.
2, troubleshooting common network abnormal problems
if you can't access the Internet after changing the host DNS, first check whether the entered DNS address is wrong. If the address is correct, you can try to refresh the DNS cache. The Windows system can /flushdns the command through ipconfig, and the Mac system can use the sudo killall -HUP mDNSResponder command. If it still can't be solved, you can restore it to the original DNS address recorded before to troubleshoot whether it is a new DNS server.
To sum up, changing the host DNS is an effective way to optimize the network access experience. The whole process is crucial from the early DNS screening, original information recording, to the specific operation of Windows and Mac systems, to the later verification and troubleshooting. Users only need to follow the steps step by step, while keeping in mind the operation precautions, they can successfully complete the change of host DNS operation, solve the network resolution related problems, and improve the stability and fluency of network use.