禁用DNS緩存的方法,將下面內容保存為注冊表文件,在運行寫入注冊表:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet Settings]
"DnsCacheEnabled"=dWord:00000000
"DnsCacheTimeout"=dword:00000000
"ServerInfoTimeOut"=dword:00000000
寫入注冊表以后IE瀏覽器將不再緩存DNS,我們對hosts便會立即生效,無需再重啟瀏覽器。
如果需要恢復IE的DNS緩存,只需清楚我們之前寫入的注冊表內容。跟上面的方法一樣
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet Settings]
"DnsCacheEnabled"=-
"DnsCacheTimeout"=-
"ServerInfoTimeOut"=-
新聞熱點
疑難解答