在Linux/Windows/Mac上刷新DNS缓存的方法

时间:2015-05-14 15:35:15   收藏:0   阅读:380

刷新dns缓存让你可以得到新的域名解析:

# Windows
ipconfig /flushdn
# Linux
/etc/rc.d/init.d/nscd restart || /etc/init.d/nscd restart
# Mac
type  dscacheutil -flushcache || sudo killall -HUP mDNSResponde

 

原文:http://www.cnblogs.com/long3216/p/4503084.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!