Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

How to clear/reset DNS cache on Windows XP / Linux
Page 1 of 1

Author:  mandrei99 [ Wed Jan 28, 2015 4:59 am ]
Post subject:  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]
C:WINDOWS>ipconfig /flushdns
Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

Clear DNS cache on Linux (Red Hat / Suse).

# 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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group