T086学习网 | 站长学院 | 技术文档 | 成语 | 歇后语 | 帝国时代 | 代码收藏 | IP地址查询 | 生活百科 | 生日密码 | CSS压缩 | 用户评论 | 欣欣百宝箱

清空客户端DNS缓存记录

【 更新时间:2010-10-27 | 字体:
[导读]Windows2k & WinXP client: ipconfig /flushdns can clear the cache; ipconfig /displaydns can display the dns cache. ipconfig /? 用法: ipconfig [/allcompartments] [/? | /all | /renew [adapter] | /rel...

Windows2k & WinXP client:

ipconfig /flushdns can clear the cache;

ipconfig /displaydns can display the dns cache.


ipconfig /?

用法:
     ipconfig [/allcompartments] [/? | /all |
                                  /renew [adapter] | /release [adapter] |
                                  /renew6 [adapter] | /release6 [adapter] |
                                  /flushdns | /displaydns | /registerdns |
                                  /showclassid adapter |
                                  /setclassid adapter [classid] ]

其中
     adapter              连接名称
                        (允许使用通配符 * 和 ?,参见示例)

     选项:
        /?                显示此帮助消息
        /all              显示完整配置信息。
        /allcompartments 显示所有分段的信息。
        /release          释放指定适配器的 IPv4 地址。
        /release6         释放指定适配器的 IPv6 地址。
        /renew            更新指定适配器的 IPv4 地址。
        /renew6           更新指定适配器的 IPv6 地址。
        /flushdns         清除 DNS 解析程序缓存。
        /registerdns      刷新所有 DHCP 租约并重新注册 DNS 名称
        /displaydns       显示 DNS 解析程序缓存的内容。
        /showclassid      显示适配器的所有允许的 DHCP 类 ID。
        /setclassid       修改 DHCP 类 ID。

默认情况下,仅显示绑定到 TCP/IP 的适配器的 IP 地址、子网掩码和
默认网关。

对于 Release 和 Renew,如果未指定适配器名称,则会释放或更新所有绑定
到 TCP/IP 的适配器的 IP 地址租约。

对于 Setclassid,如果未指定 ClassId,则会删除 ClassId。

示例:
     > ipconfig                        ... 显示信息
     > ipconfig /all                   ... 显示详细信息
     > ipconfig /renew                 ... 更新所有适配器
     > ipconfig /renew EL*             ... 更新所有名称以 EL 开头
                                          的连接
     > ipconfig /release *Con*         ... 释放所有匹配的连接,
                                          例如 "Local Area Connection 1" 或
                                              "Local Area Connection 2"
     > ipconfig /allcompartments       ... 显示有关所有分段的
                                          信息
     > ipconfig /allcompartments /all ... 显示有关所有分段的
                                          详细信息
 

  • 转载请注明来源:IT学习网 网址:http://www.t086.com/ 向您的朋友推荐此文章
  • 特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系我们,我们会尽快予以更正。
更多
留言建议ASP探针PHP探针站长Enjoy的Blog
© 2017 T086学习网 - T086.com(原itlearner.com)
RunTime:12.00ms QueryTime:7