分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]
Jan 17
在修改完dns后,很多域名都没有马上生,需要过一段时间才能生效.这个大家都知道.一般人都是通过ping来查看域名是否已经使用新的ip地址.但在如果我已经ping过一次后,系统就会把域名和ip缓存起来.这样次就不需要每次访问的时候都先访问一下dns服务器.但对于我们在检查是否已经生效带来不确定.
因此,我们每次ping之前最好还是清一下域名与ip在本地系统上的缓存.方法很简单
ipconfig /flushdns

相应的还有
ipconfig /displaydns

Display the contents of the DNS Resolver Cache.
显示dns cache的内容,包括hosts文件里的信息也会显示出来。

ipconfig这个命令经常用,常用的有:
/all Display full configuration information.
/release Release the IP address for the specified adapter.
/renew Renew the IP address for the specified adapter.


但是这个关于dns的功能很少用。还有
/registerdns Refreshes all DHCP leases and re-registers DNS names
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.

Popularity: 23%
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]