FreeBSD - Tutorials, Security
Home   Archives   Sitemap   About   Contact

How to clear/reset DNS cache on Windows XP / Linux

Home NEW! Unix Forum News 100 Tips and Tricks Website Development Server Operating Systems Databases
 Ivorde.ROarrow 100 Tips and Tricks arrowHow to clear/reset DNS cache on Windows XP / Linux 

Article Sections

    Hello, Guest !
User name:
Password:
 
Google

 FreeBSD Tutorials
 Linux LVM Commands
 Free Shell Accounts
 FreeBSD Project
 FreeBSD Handbook
 The OpenBSD Project
 Distrowatch
 FreeBSD Handbook


Apache Webserver Home Page

Blog, intrebari si raspunsuri despre Leasing

Posted on: 07 May 2008
Author: mandrei
Section: 100 Tips and Tricks |
Views: 15020
Comments: 4 (Add)

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




How to clear/reset DNS cache on Windows XP / 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.

Bookmarks: Echo "How to clear/reset DNS cache on Windows XP / Linux" around:
del.icio.usdiggFurlYahooMyWebGoogleBookmarksFaceBookTechnocratti
-------------------advertising-----------------

Other articles in 100 Tips and Tricks /
» How to clear your terminal screen on Linux / FreeBSD
» How to completely remove Nero 7 from your Windows XP System
» How to switch lower case to upper case and upper case to lower case in a string




Contact webmaster regarding this article
Register or Login to post your article
Hello, Guest ! You can Login or Register to www.ivorde.ro!

 Post comment:

Name:
Title:
Comment:
Please type the word you see in the image (anti-spam verification). Refresh the page if you don't understand the word.
Verification code
Allowed HTML Tags for comments:<p><strong><em><u><h1><h2><h3><h4><h5><h6><img><li>
<ol><ul><span><div><br><ins><del>

4 comment(s) to How to clear/reset DNS cache on Windows XP / Linux:

1. Re: How to clear/reset DNS cache on Windows XP / Linux
frustrated by tony at February 21st, 2010 - 10:57
running Windows XP home - can not fix /start dnscache.
error msg = dnscache is disabled or not associated with any service.
start is configured at 0 (zero) seconds
should be associated with tcpip but wont accept

2. Re: How to clear/reset DNS cache on Windows XP / Linux
MIS by Turan at January 14th, 2009 - 20:06
1. Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Dnscache\Parameters
2. Build a new DWORD value called NegativeCacheTime and give it a value of 0

3. Re: How to clear/reset DNS cache on Windows XP / Linux
To lprasad's problem by Andrei at June 19th, 2008 - 17:29
http://windowsitpro.com/article/articleid/86041/jsi-tip-10577-when-you-run-the-ipconfig-flushdns-command-on-windows-xp-you-receive-could-not-flush-the-dns-resolver-cache-function-failed-during-execution.html

4. Re: How to clear/reset DNS cache on Windows XP / Linux
Clearing the DNS Cache by lprasad at May 29th, 2008 - 12:33
Start -> Run -> cmd [ENTER]
C:WINDOWS>ipconfig /flushdns
I fallowed the above steps but my system was shows
Could not flush the DNS Resolver Cache: Function failed during execution. so what i do?

   Latest topics on the forum:
Openssl: Commandline base64 string encoding
Using echo, netcat(nc) and tr to create an HTTP connection
Unix shell - using TR to replace new lines with spaces
SED how to remove multiple white spaces from a string
Starting nginx: [emerg]: directive "rewrite" is not terminated by ";"
Converting PhpBB-SEO Apache RewriteRule to Nginx rewrite
MySql doesn't start: libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
/usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat
How to install apache22 on FreeBSD with proxy modules
Windows XP Microphone volume drops unexpectedly / auto adjusts to low value
 
   Most viewed articles:
How to clear/reset DNS cache on Windows XP / Linux - 15020 views
How to remove first/last character from a string using SED - 14632 views
Reloading /etc/profile - how to reload Unix /etc/profile - 11820 views
Substitute strings in files with perl, sed or vi(m) - 11000 views
How to change a user's password in AIX with the output from ECHO command - 7684 views

   Latest 10 articles:
FreeBSD - Collect installed hard disk drive information - 19 Mar 2009
Set up FTP PROXY via command line in Linux/FreeBSD - 19 Mar 2009
Set up HTTP PROXY via command line in Linux/FreeBSD - 19 Mar 2009
Qmail relay to smarthost: How to route all mail to a smarthost - 03 Feb 2009
EXIM 4 relay to smarthost: How to route all mail except local domain - 03 Feb 2009
Windows XP: print LISTEN ports and network connections using netstat - 30 Jan 2009
qmail qmail-scanner/clamav qmail-inject: fatal: qq temporary problem / clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2 - 05 Dec 2008
How to cut out first last n characters from each file name, from a filelist - 04 Nov 2008
Mozilla Firefox3 is now released - 18 Jun 2008
How to switch lower case to upper case and upper case to lower case in a string - 17 Jun 2008


Archives
» 2007  |  June  |  October  |  November  |  December
» 2008  |  January  |  February  |  March  |  April  |  May  |  June  |  November  |  December
» 2009  |  January  |  February  |  March



Home | Archives | Sitemap | About | Contact

Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.  
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.
Valid W3 Document Valid XHTML 1.0 Transitional Valid CSS! The FreeBSD Project Viewable With Any Browser