A lot of friends may have encountered this problem. When blocking some malicious URLs, the hosts file is modified, but it doesn't always work. 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 repeatedly introduced the network anti-black file, which is to modify the hosts file to achieve malicious URLs. The shield even turned.
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 documentation, the hosts file must be ascii encoding. If you save it as unicode, it will not be read correctly. Going back to today's main topic, modifying the hosts to point the domain name to the new ip is always ineffective. I tried a lot of methods, but the problem still exists. So I found the answer on Microsoft's website, and finally found a "DNS Client" service The problem, “DNS CLient” service is used to cache dns, so the modified files can not be effective immediately, it takes a period of delay, usually you can use ipconfig /flushdns to refresh the dns cache, but this method for me The problem seems to have no effect, so simply open the Control Panel - Administrative Tools & ndash; service, where it finds "DNS Client" and disables it and changes it to manual mode. So the problem is solved, and the hosts file is modified at any time.
It is still 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.
By modifying the registry key to improve the speed of the Internet, this topic is really old enough,
Q: After uninstalling the daemon tools, it is found that there is still no uninstallation clean, the
In Windows 7, Microsoft provides the Pin function to fix any program on the taskbar or start
books or desktop PCs, manufacturers can not update the old hardware, or who else buy new? Not to men
Analyze UAP functions in Windows Vista
TOMCAT is not working properly under Vista.
VISTA system shutdown automatic restart solution
Play the old format event log analysis under Vista/Windows7
How to make Windows Vista and Dos dual system
The difference between Win Vista and XP driver strategy
Windows Vista installation and disaster recovery
Solve the modification of the hosts file under Vista system is invalid
Windows Vista system installation must read
Vista sidebar installation and configuration
The most commonly used 10 Windows Vista run commands
Solve the Vista system automatic update prompt 80070002 error
What might happen to win7 after being invaded by malware? Possible problem phenomenon summary
Win7 double-click the hard disk does not respond how to deal with?
12 major features Windows7 makes IT better
See how to recover corrupted Windows XP system files
Retrieving the Windows 7 operating system wireless password method
How to update the win7 system?
How to open the Win7 system TFTP server? How to open TFTP server in Win7