使用 ipconfig 命令刷新和重置客户端解析程序缓存
使用 ipconfig 命令刷新和重置客户端解析程序缓存
-
打开“命令提示符”。
-
键入:
ipconfig /flushdns
|
值
|
描述
|
|---|
ipconfig | 命令行程序的名称。 |
/flushdns | 刷新和重置客户端解析程序缓存的命令。 |
注意
-
执行此任务不需要具有管理凭据。因此,作为安全性的最佳操作,请考虑以没有管理凭据的用户身份执行这个任务。
-
To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
-
要查看该命令的完整语法,请在命令提示符下键入:
ipconfig /help
- ipconfig /flushdns 命令为您提供了刷新和重置 DNS 客户端解析程序缓存内容的方法。如有必要,在 DNS 疑难解答期间,您可以使用该过程从缓存中去除否定性缓存项目和任何其他动态添加的项目。
-
重置缓存不删除从本地主机文件中预加载的项目。要将这些项目从缓存中删除,请把它们从该文件中删除。详细信息,请参阅“相关主题”。
-
尽管 ipconfig 命令是为 Windows 的较早版本提供的,但 /flushdns 选项只能在运行 Windows 2000、Windows XP 或 Windows Server 2003 操作系统的计算机上使用。
有关功能差异的信息
-
Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.
See Also