Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. If the location of the page changes before the entry in your DNS cache is updated, you will be unable to access the page.
If you are encountering a high number of HTML 404 error codes, you may need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.
For more information about the HTML 404 error code, please visit the HTML 404 wikipedia article.
The methods detailed below allow you to remove old and inaccurate DNS information that may result in 404 errors.
Windows? XP, 2000, or Vista?
- Open the Start menu.
- Go to Run.
- If you do not see the Run command in Vista, search for "run" in the Search bar.
- In the Run text box, type:
ipconfig /flushdns - Press Enter or Return, and your cache will be flushed.
MacOS?
- Go to Applications.
- Go to Utilities.
- Open the Terminal application.
- Type:
dscacheutil -flushcache - Press Enter or Return, and your cache will be flushed.
本文介绍如何通过清除Windows和Mac操作系统的DNS缓存来解决网页加载时出现的404错误。当DNS缓存中的信息过期或不准确时,可能会导致无法访问网站的问题。
958

被折叠的 条评论
为什么被折叠?



