How to clear/reset DNS cache on Windows XP / Linux
How to clear/reset DNS cache on Windows XP / Linux, clear dns cache on windows, clear dns cache on Linux.Windows XP remembers failed ("Unable to resolve" - DNS requests) entries for a few minutes. This can be very unpleasant when moving and debugging/developing web-sites. As long as that failed entry sits in your DNS cache, your box will continue to give you a "Unable to resolve" error. By cleaning out your DNS cache, you can fix this problem.
Clear DNS cache on Windows XP.
Start -> Run -> cmd [ENTER]
Code:
C:WINDOWS>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
Clear DNS cache on Linux (Red Hat / Suse).
Code:
# service nscd restart
Shutting down Name Service Cache Daemon done
Starting Name Service Cache Daemon done
For both situations you need to be root/Administrator.
On FreeBSD, applications clients query the DNS server every time they need a DNS record.