How to Flush DNS in Microsoft Windows
2012-01-11 18:29
351 查看
下面是各种操作系统下刷新dns的命令:
In Microsoft Windows, you can use the commandipconfig /flushdns to flush
the DNS
resolvercache.
在微软windows下,你可以用命令 ipconfig /flushdns 来清空dns 缓存内容。
You can also use
the command ipconfig /displaydns to viewthe DNS resolver cache.
你也可以用命令 ipconfig /displaydns 来查看dns 缓存内容。
In Mac OSX, you can use
the command lookupd -flushcache to flushthe DNS resolver cache.
在Mac OSX中,你可以用这个命令lookupd -flushcache来清空保留的缓存。
In Linux, the nscd daemon managesthe DNS cache.
在linux中,nscd进程负责管理DNS缓存。
To flush the DNS cache, restartthe nscd daemon.
要清空DNS缓存,重启nscd 守护进程就行了。
To restart the nscd daemon, usethe command `/etc/rc.d/init.d/nscd restart`.
要重启nscd 进程,使用命令(不带引号)‘/etc/rc.d/init.d/nscd restart’
ipconfig 非常有用的网络配置、排错。。。命令。
不加参数显示当前机器的网络接口状态。
/all 先是详细的信息。
/release 释放当前ip。
/renew 重新申请ip。
/flushdns 刷新dns缓存。
/registerdns 重新在dns服务器上注册自己。
How to Flush DNS in Microsoft Windows
微软windows下如何清空dnsIn Microsoft Windows, you can use the commandipconfig /flushdns to flush
the DNS
resolvercache.
在微软windows下,你可以用命令 ipconfig /flushdns 来清空dns 缓存内容。
You can also use
the command ipconfig /displaydns to viewthe DNS resolver cache.
你也可以用命令 ipconfig /displaydns 来查看dns 缓存内容。
C:\>ipconfig /flushdns Windows IP Configuration Successfully flushed the DNS Resolver Cache.
How to Flush DNS in Mac OSX
Mac OSX下如何清空dns缓存In Mac OSX, you can use
the command lookupd -flushcache to flushthe DNS resolver cache.
在Mac OSX中,你可以用这个命令lookupd -flushcache来清空保留的缓存。
bash-2.05a$ lookupd -flushcache
How to Flush DNS in Linux
Linux 下如何清空dns缓存In Linux, the nscd daemon managesthe DNS cache.
在linux中,nscd进程负责管理DNS缓存。
To flush the DNS cache, restartthe nscd daemon.
要清空DNS缓存,重启nscd 守护进程就行了。
To restart the nscd daemon, usethe command `/etc/rc.d/init.d/nscd restart`.
要重启nscd 进程,使用命令(不带引号)‘/etc/rc.d/init.d/nscd restart’
ipconfig 非常有用的网络配置、排错。。。命令。
不加参数显示当前机器的网络接口状态。
/all 先是详细的信息。
/release 释放当前ip。
/renew 重新申请ip。
/flushdns 刷新dns缓存。
/registerdns 重新在dns服务器上注册自己。
相关文章推荐
- How to use the Windows Azure Mobile Services (WAMS). With WAMS, signing in via Microsoft, Facebook, Twitter, and Google
- How to enable $Admin Shares in Windows 7
- How To Create a Child Domain in Active Directory and Delegate the DNS Namespace to the Child Domain
- How to Delete and Recreate the _msdcs DNS zone on a Windows DNS Server
- How to increase Memory usage for an App in Windows Phone
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0(Se
- How to dev Gstreamer In Windows
- How to disable Fast User Switching in Windows Vista
- How to use Azure Function in Microsoft Flow
- How to set the QT Application icon in the windows.
- How to Run a Program as an Administrator in Windows 7
- How to Run a Program as an Administrator in Windows 7
- How to rename the built-in Administrator account in Windows
- How to setup Assigned Access in Windows 10 (Kiosk Mode) 设置分配的访问权限(Kiosk模式)
- How to get the handle in windows using python
- How to Defeat Windows 8 ASLR in Getting the Address of KPCR
- HOWTO: How to Use PeekMessage() Correctly in Windows
- How to set connections in windows mobile emulator?
- How to compile and run a simple java file in jenkins on Windows
- How to install, compile, and utilize Rebar in Windows