Re: Stale entries in dnscache's cache structure
Mark Johnson <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Mar 10, 2010 at 3:39 PM, Laurent Bercot <[email protected]> wrote: > What do you think ? Should I go for the theoretically better solution, > or does usage show that this flaw in dnscache is never a problem in > practice and simplicity wins ? To quote djb himself - 'Profile. Don't speculate.' http://en.wikiquote.org/wiki/Daniel_J._Bernstein Log records added to the cache along with records in the cache about to be overwritten. Play the log back offline and compute some stats. Or dump the entire cache periodically for analysis.