flushing dns cache

wayne at tiscali wayne.kroncke at tiscali.co.uk
Mon Oct 26 12:31:53 EDT 2009


thanks, sam. it confirms my batch file supposition.

what i meant by 'flush' was the same as in flushing a porcelain throne, 
ie. empty it and start fresh with a clean one. or as in the windows 
command 'ipconfig /flushdns'. of course the older OS 'flush' command 
meant to write the hard disk buffers to disk so you would not lose any 
info when you shut down. windows doesn't need that one anymore :)

windows vista and win7 seem to have a slight problem with it's cache 
that a quick cleanout (or flushing) sometimes cures. i gather it's from 
negative responses persisting in the cache too long. i suspect deadwood 
does not suffer from this. i was trying out some config parameters and 
had used a large number for maximum_cache_elements, then cut back to a 
more reasonable number. i did not see the file size go down, so wanted 
to flush it and start over with a zero file size. i guess the next time 
would have done it without my meddling.

anyhow, i noted that when i deleted the cache file after stopping the 
service, the file was not re-created until it stopped the next time, i 
gather that is when it writes the cache to disk from it's memory, 
reading it in again at the next start. indeed the file was not created 
on the initial install and start-up, but appeared subsequently.


*/Best Regards,/*
Wayne Kroncke

On 26/10/2009 16:01, Sam Trenholme wrote:
>> my question is; how does one flush the dns cache?
>>      
> OK, I should make a FAQ about this.
>
> If by "flush the cache" you mean "write the contents of the cache to
> disk", the way to do it is as follows:
>    


More information about the list mailing list