Many friends may have encountered such a problem, used to block some malicious URLs, modified the hosts file, but it does not always take effect. Internet search, Windows7 system
and Vista
system, XP system have encountered such a situation, it seems that the problem is still very common. A special solution is attached today, which may not be smothered, but it does solve many of the problems in this situation.
Before solving this problem, let's talk about the hosts file briefly. Many newbies may not know about it. The soft media has introduced the network
anti-black file many times, by modifying the hosts. Files to achieve blocking or even turning to malicious URLs.
Simply, the hosts file is used for the local dns service. It is written in a text file in the format of the ip domain name. The Windows system is usually stored in the system32 directory of the system disk, such as C:\\Windows. \\system32\\drivers\\etc\\, the local host is generally defined as 127.0.0.1 locahost.
According to Microsoft's related documents, the hosts file must be ascii encoding, if you save it as unicode format will not be read correctly.
back to today's main topic, modify hosts domain name will point to the new ip is not always take effect, tried many ways, the problem still exists, so Microsoft's Web site to find the answer, finally found a " DNS Client service problem, "DNS CLient" service is used for caching dns, so modifying the files of hosts can not take effect immediately, it takes a period of delay, usually you can use ipconfig /flushdns to refresh the dns cache, but This method seems to have no effect on my problem, so simply open the Control Panel - Administrative Tools - Services, find "DNS ClIEnt" in it and disable it and change to manual mode.
So the problem is solved, hosts file to modify at any time to take effect.
That is the same sentence, this method may not be effective for all the friends encountered, just for an example to learn from it. Welcome friends and friends to give better solutions and solve the difficult Windows problems we have encountered.
has introduced how to use Windows Vistas integrated clock to display multiple time zones in the stat
As we all know, Vista itself also has a hard disk partition function, can also delete hidden partiti
. IE 8 not only brings performance improvements, but also the browser becomes simpler and easier to
Windows vista cant be connected to the Internet. Vista has added a new network diagnostic fu
Error code 1450 meaning related issues
The "Error Reporting" application under Windows Vista
After installing Vista, the blue screen solution is
Vista system memory acceleration tips
Windows Vista operating system eight big chicken rib function
How to remove the Vista/7 right-hand briefcase menu by modifying the registry
Config directory not found in Vista system
Vista folder turns yellow solution
Problem fix shown on the left side of the right-click menu
Why there is no sound after Vista installs SP1 and solutions
Create a perfect XP image that can be installed at will
Win8 to create a quick shutdown button shortcut graphic tutorial
How to beautify the Windows platform fonts?
Windows 2000 Security Configuration Tool
How to win8 20 win8 personality function exposure
Win10 system adds Microsoft print to PDF settings application
How to use driver life to get win10 driver + installed software once
How to forget the login password can be restored
What should I do if the Win7 notebook cannot be woken up after closing the lid?