INDIA WEB HOSTING FAQs

April 27, 2011

FLUSH DNS in Windows Linux Mac OS

Filed under: Web-Hosting,www — Unichost @ 5:33 am

FLUSH DNS in different platforms

In Microsoft Windows, you can use the command flushdns to flush the DNS resolver cache.
Open the command prompt and type the following:
C:>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.

In Mac OSX Leopard, you can use the command dscacheutil -flushcache to flush the DNS resolver cache:
bash-2.05a$ dscacheutil -flushcache

In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task:
bash-2.05a$ lookupd -flushcache

In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon.
To restart the nscd daemon, use the command
#/etc/init.d/nscd restart

Related: DNS Server, Linux Server, Windows Server

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress