Clearing Your DNS Cache

给域名换空间遇到的问题,访问会自动跳到http://www.handlovebags.com/cgi-sys/defaultwebpage.cgi

先记录解决方法,明天试下。

 

 

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®

  1. Open the Start menu.
  2. Go to Run.
    • If you do not see the Run command in Vista, search for "run" in the Search bar.
  3. In the Run text box, type: ipconfig /flushdns
  4. Press Enter or Return, and your cache will be flushed.

MacOS®

  1. Go to Applications.
  2. Go to Utilities.
  3. Open the Terminal application.
  4. Type: dscacheutil -flushcache
  5. Press Enter or Return, and your cache will be flushed.

 

 

============================================================================================================

第二天实践证明情况的确如此,要清除计算机上的DNS缓存,不然自己访问域名会跳转。

但是在命令行执行的时候遇到“函数错误~~~~”的提示,解决方法如下:

是DNS服务不知怎么被设为手动启动了。

在CMD下,输入 ipconfig /flushdns (清空DNS缓存),,,,,出现
“Could not flush the dns Resolver Cache:执行期间,函数出了问题”

解决办法如下:
控制面版------管理工具------服务------把DNS client 和 dhcp client 两个服务组件启动起来,设置为自动,两个服务启动后 OK!

在用 ipconfig /flushdns
出现 windows IP Configuration
Successfully flushed the DNS Resolver Cache.
成功


清空DNS缓存 ipconfig /flushdns
查看DNS缓存 ipconfig /displaydns

提示无法清除DNS缓存。
解决方法(这种方法也可以用于有时候局域网受ARP病毒的袭击后,修复本地连接。):
它的步骤如下:

1 清除ARP缓存,cmd下使用命令arp -d *代替执行。

2 清除NETBT,cmd下使用命令nbtstat -R代替执行。

3 清除DNS缓存,cmd下使用命令ipconfig/flushdns代替执行。

由于第三步可以网络邻居属性->本地连接->修复,但有时候会出现“无法完成修复,.....:清除DNS缓存失败”。

解决方法是:控制面板->管理工具->服务,在出现的的服务里面找到DNS Client和DHCP Client这两个服务,把他们两个启动,设置成自动
posted @ 2012-01-19 00:05  林同学  阅读(586)  评论(0编辑  收藏  举报