×
新网 > 主机-资讯 > 正文

告诉你如何清空DNS缓存方法/命令

  • 作者:zccc
  • 来源:网络
  • 2020-07-17 12:09:37

如何清空DNS缓存方法/命令 微软windows下如何清空DNS缓存 In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS res

如何清空DNS缓存方法/命令

微软windows下如何清空DNS缓存

In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver cache.

在微软windows下,你可以用命令 ipconfig /flushdns 来清空dns 缓存内容。

You can also use the command ipconfig /displaydns to view the DNS resolver cache.

你也可以用命令 ipconfig /displaydns 来查看dns 缓存内容。

ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

How to Flush DNS in Mac OSX

Mac OSX下如何清空DNS缓存

In Mac OSX, you can use the command lookupd -flushcache to flush the DNS resolver cache.

在Mac OSX中,你可以用这个命令lookupd -flushcache来清空保留的缓存。

bash-2.05a$ lookupd -flushcache

How to Flush DNS in Linux

Linux 下如何清空DNS缓存

In Linux, the nscd daemon manages the DNS cache.

在linux中,nscd进程负责管理DNS缓存。

To flush the DNS cache, restart the nscd daemon.

要清空DNS缓存,重启nscd 守护进程就行了。

To restart the nscd daemon, use the command `/etc/rc.d/init.d/nscd restart`.

要重启nscd 进程,使用命令/etc/rc.d/init.d/nscd restart





  • 相关专题

免责声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,也不承认相关法律责任。如果您发现本社区中有涉嫌抄袭的内容,请发送邮件至:operations@xinnet.com进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

免费咨询获取折扣

Loading