rfminelli / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
GNU General Public License v2.0
0 stars 0 forks source link

Flushing DNS Cache entries #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Cache Manager function to flush ALL DNS entries.

Just run:

squidclient mgr:flushdns

to flush ... or this can by done via cachemgr.cgi interface

Original issue reported on code.google.com by ajcor...@gmail.com on 15 Sep 2009 at 7:24

GoogleCodeExporter commented 8 years ago
new patch

please apply this new (first revert to last HEAD then apply this new patch)

Original comment by ajcor...@gmail.com on 16 Sep 2009 at 5:43

GoogleCodeExporter commented 8 years ago
Right. About the only change we need to make is to move the actual "flush" code 
out
of src/.

Ie, instead of the fqdn/ipcache flush'ing work done in src/, write a separate
function in ipcache.c and fqdncache.c which does the flushing. Have the cachemgr
functions call those. That way you don't need to expose any of the data 
structures
(ie, the dlink lists) to the code in src/.

Other than that, it's fine. :) The work should be fine to commit once you've 
made
those changes. :)

Original comment by adrian.c...@gmail.com on 5 Apr 2010 at 2:46

GoogleCodeExporter commented 8 years ago
Committed revision 14600.

Original comment by ajcor...@gmail.com on 16 Apr 2010 at 4:40

GoogleCodeExporter commented 8 years ago
Completed! Thanks!

Original comment by adrian.c...@gmail.com on 11 Jul 2010 at 8:26