It would be cool to add the needed code to be able to manage and monitor our dnsserver behaviours/caches.
To know how much memory is used by the different caches could really help understanding what are the memory requirement for it.
I don't know if a cache hit statistic is available in dnsjava, but this would help even more in tuning the size parameters.
We are going to add many dns intensive checks by default (spf, black/white list, fastfail ehlo/domain checks) so this issue will become probably much important in the future.
- is related to
JAMES-758 InSpammerBlacklist latency seriously affects throughput