多语言展示
当前在线:888今日阅读:113今日分享:31

各种操作系统下清空DNS缓存方法/命令

How to Flush DNS in WindowsWindows下如何清空DNS缓存In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver cache.在微软windows下,你可以用命令 ipconfig /flushdns 来清空dns 缓存内容。You can also use the command ipconfig /displaydns to view the DNS resolver cache.你也可以用命令 ipconfig /displaydns 来查看dns 缓存内容。如果是 Windows ( XP, ME, 2000, 98)系统:1.开始——>运行——>输入 cmd 并回车2.在打开的命令行窗口,输入 ipconfig /flushdns完成!你的Windows DNS 缓存已经得到刷新如果是Windows Vista 或 Windows 7 系统:1单击屏幕左下角的Microsoft Windows Vista或Windows 7 的开始标志2单击 所有程序3单击 附件4右键单击命令提示符5选择 以管理员身份运行6在打开的命令行窗口,输入 ipconfig /flushdnsHow to Flush DNS in Mac OSXMac OSX下如何清空DNS缓存In Mac OSX, you can use the command lookupd -flushcache to flush the DNS resolver cache.在Mac OSX中,你可以用这个命令lookupd -flushcache来清空保留的缓存。Mac OSX在命令行窗口(terminal)输入命令 lookupd -flushcache 清空刷新dns 解析缓存较新的苹果Mac OS X系统应该使用下面的命令:type dscacheutil -flushcacheHow to Flush DNS in Linux/UbuntuLinux/Ubuntu 下如何清空DNS缓存In Linux, the nscd daemon manages the DNS cache.在linux中,nscd进程负责管理DNS缓存。To flush the DNS cache, restart the nscd daemon.要清空DNS缓存,重启nscd 守护进程就行了。To restart the nscd daemon, use the command /etc/rc.d/init.d/nscd restart要重启nscd 进程,使用命令 /etc/rc.d/init.d/nscd restart如果是比较新的Linux版本,你可能需要使用下面的命令:/etc/init.d/nscd restart如果没有nscd也没关系,网上解决方法大都是sudo aptitude install nscdsudo /etc/init.d/nscd restartUbuntu下我们可以直接 sudo /etc/init.d/dns-clean startHow to Flush DNS in AndroidAndroid(安卓)如何刷新DNS缓存Android(安卓)下直接开关下飞行模式
推荐信息