Use the host file on the local machine to solve the problem of slow opendns

Source: Internet
Author: User

Use the hosts file on the local machine to solve the problem of slow opendns

Because the Gae part of GFW can be solved temporarily by using opendns, but sometimes it is intolerable to use opendns to resolve the slow speed of domestic websites. However, in order to access, you have to set the DNS server to the opendns This is really annoying!

Can I modify the DNS cache of the Local Machine and add the domain name resolution from to The method found is similar to the Linux resolve file, which is named hosts in windows and used to save local DNS resolution items. The XP hosts file is in: C:/Windows/system32/Drivers/etc/hosts. Open the hosts file and add a ing below. localhost

In this way, after entering, the system will directly parse the file to without obtaining the result from the DNS server. Other Windows operating systems also have host files, which can be found.

Reference: Functions of Windows hosts files

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.