Jan
17
在修改完dns后,很多域名都没有马上生,需要过一段时间才能生效.这个大家都知道.一般人都是通过ping来查看域名是否已经使用新的ip地址.但在如果我已经ping过一次后,系统就会把域名和ip缓存起来.这样次就不需要每次访问的时候都先访问一下dns服务器.但对于我们在检查是否已经生效带来不确定.
因此,我们每次ping之前最好还是清一下域名与ip在本地系统上的缓存.方法很简单
相应的还有
Display the contents of the DNS Resolver Cache.
显示dns cache的内容,包括hosts文件里的信息也会显示出来。
ipconfig这个命令经常用,常用的有:
但是这个关于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.
/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%
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
Popularity: 23%
lee

January 22, 2012 08:40
小生弟弟,哥哥来给你拜年啦。祝小生弟弟工作顺利,小夫妻幸福美满。
分页: 1/1
1

